Get Started
Usage API
More information

PUT api/2.0/mail/conversations/crm/link This function requires authentication

Description

Links a conversation to CRM. All the new mails will be added to the CRM history.

Parameters
Name Description Type Example
id_message
sent in body
ID of any message from the chain number 1234
crm_contact_ids
sent in body
List of CRM contact entities in the following format: {entity_id: 0, entity_type: 0}. Entity types: 1 - Contact, 2 - Case, 3 - Opportunity
collection
Example
PUT api/2.0/mail/conversations/crm/link
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "id_message": 1234,
  "crm_contact_ids": [
    {
      "entity_id": 0,
      "entity_type": 1
    }
  ]
}
Returns

This method doesn't return any data.