PUT api/2.0/crm/contact/mailtohistory/settings This function requires authentication

Description

Updates the setting for writing mails to the history with the parameter specified in the request.

Parameters
Name Description Type Example
writeMailToHistoryAuto
sent in body
Defines if the mails are written to the history automatically or not
true or false
Bool value true
Example
PUT api/2.0/crm/contact/mailtohistory/settings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "writeMailToHistoryAuto": true
}
Returns

Updated setting for writing mails to the history (true or false)