Get Started
Portal api methods
Help

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

Description

Export mail to CRM relations history for some entities

Parameters
Name Description Type Example
id_message
sent in body
Id of any messages from the chain number 1234
crm_contact_ids
sent in body
List of CrmContactEntity. List item 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

none