PUT api/2.0/mail/messages/crm/export This function requires authentication

Description

Exports a mail to the CRM relation history for some entities.

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 entity IDs 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/messages/crm/export
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.