Update CRM Connection
Changed onUpdate the primary (data-exchange) and/or send_visits flags on a confirmed CRM connection. Applies a partial (merge-patch) update: only the flags named in the request are changed; any flag you omit is left untouched. Setting primary: true demotes the company's current primary connection in the same operation. send_visits cannot be toggled on contact connections. Suggestions cannot be updated.
Credit Note: Updating a CRM connection does not consume credits.
:::info Requires the crm_records:write OAuth2 scope. :::
Request
- Base URLhttps://api.leadfeeder.com
- URLhttps://api.leadfeeder.com/v1/crm-connections/{id}
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.leadfeeder.com/v1/oauth/authorizeToken URL: https://api.leadfeeder.com/v1/oauth/token scopes: crm_records:write
Path parameters
The CRM connection ID — the composite <integration_connection_id>_<local_id>_<crm_record_uuid> returned as the connection's id.
Query parameters
The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
Request body
Response
Success
Example response
{
"data": {
"relationships": {
"crm_record": {
"relationships": {
"crm_owner": {
"type": "crm_user"
}
},
"type": "crm_organization"
}
},
"type": "crm_connection"
},
"meta": {
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}Changes
- info
endpoint added
- info