CRM
Update a contact in the CRM
Changes a contact's fields in HubSpot, Salesforce or Pipedrive, found by record_id (from the live lookup), contact_id (synced) or email. Always becomes an approval request for a person.
https://traceeai.com/api/v1/crm/contacts/updateCLI:tracee crm update-contact·MCP:crmaction update_contact
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.
uuid
Body
fieldsobjectrequiredThe fields to change
crmstringOne CRM, for create_contact and update_contact; the connected one by default
Available options:
hubspotsalesforcepipedrivezohoattioclosecopperfreshsalesrecord_idstringThe record's id in the CRM, from GET /api/v1/crm/lookup
up to 200 characters
contact_idstringup to 200 characters
emailstringThe email
up to 320 characters
notestringContext for the approver
up to 500 characters
Response
- 200Already done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up. - 202Started or still running: follow it with the id in the answer.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.