Get Started
Usage API
More information

POST api/2.0/mail/messages/calendarbody/add This function requires authentication

Description

Adds an iCal body to the draft with the ID specified in the request.

Parameters
Name Description Type Example
id_message
sent in body
Message ID number 1234
ical_body
sent in body
iCal body string some text
Example
POST api/2.0/mail/messages/calendarbody/add
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "id_message": 1234,
  "ical_body": "some text"
}
Returns

Mail attachment