Skip to main content
PUT
/
conversations
/
{id}
/
linked-crm-records
Update Linked CRM Records
curl --request PUT \
  --url https://api.attention.tech/v2/conversations/{id}/linked-crm-records \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "opportunity_id": "opp_xyz789",
  "linked_crm_records": [
    {
      "id": "acc_001",
      "code": "salesforce_account"
    },
    {
      "id": "con_002",
      "code": "salesforce_contact"
    }
  ]
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

UUID of the conversation to update

Body

Linked CRM records to set on the conversation

opportunity_id
string

UUID of the opportunity to associate the CRM records with

Example:

"opp_xyz789"

linked_crm_records
object[]

List of CRM records to link to the conversation

Response

Linked CRM records updated successfully

success
boolean
required

Indicates whether the linked CRM records were updated successfully