# sales_account_id on POST /crm/sales/api/contacts is deprecated

Freshsales API deprecated POST /crm/sales/api/contacts, body parameter sales_account_id without giving a shutdown date yet.

The body parameter sales_account_id on POST /crm/sales/api/contacts is deprecated without a shutdown date. Freshsales API states that usage of this key is deprecated. Requests relying on it will eventually fail once removed.

## What to use instead

Send the contact's accounts in sales_accounts as an array of {id, is_primary} instead of sales_account_id. This update requires modifying your payload structure beyond changing an identifier.

- API: Freshsales API (*.myfreshworks.com)
- Kind: Parameter removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /crm/sales/api/contacts`, `body parameter sales_account_id`
- Source: [Announcement](https://developers.freshworks.com/crm/api/)
- Verified: November 6, 2026, against Freshsales API's own pages
- Page: https://www.okapi.bot/providers/freshsales-api/breaking-changes/sales-account-id-on-post-crm-sales-api-contacts-is-deprecated/

## Freshsales API's words

> Usage of this key is deprecated. Use sales_accounts key to associate accounts to a contact.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
