Exports all the message attachments to the folder with documents.
Name | Description | Type | Example |
id_message
sent in body
|
Message ID | number | 1234 |
id_folder
sent in body
|
Folder ID (if this parameter is empty, the "My documents" folder is used)
optional
|
string | some text |
PUT api/2.0/mail/messages/attachments/export Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "id_message": 1234, "id_folder": "some text" }
Number of attachments exported