POST /update-crm-config

Changed on

Update the organization's CRM configuration. Omitted fields stay as they are; a field that is sent replaces its stored value in full.

Request

  • Base URL
    https://api.retellai.com
  • Auth
    HTTP bearer

Request body

app_idstring nullable

ID of the CRM app to link. Pass null to unlink, which stops syncing. Changing it resets the sync cursor, so the next sync re-reads every contact from the new CRM.

contact_memory_update_promptstring nullable

Workspace-shared memory rewrite prompt. Pass null to restore the built-in preset. Supports conversation dynamic variables using {{variable_name}}.

contact_columns_orderstring[]

Preferred display order of contact fields, for clients that render contacts as a table. Not used by the API itself.

Response

Updated CRM config.

org_idstring required
contact_memory_update_promptstring nullable required

Workspace-shared memory rewrite prompt. Null uses the built-in preset. Supports conversation dynamic variables using {{variable_name}}.

default_contact_memory_update_promptstring required

Built-in memory rewrite prompt.

app_idstring

The connected CRM integration app ID.

last_sync_timestampnumber

Epoch milliseconds of the last successful sync.

contact_columns_orderstring[]

Preferred display order of contact fields, for clients that render contacts as a table. Not used by the API itself.

Changes