Get Started
Usage API
More information

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

Description

Exports all the message attachments to the folder with documents.

Parameters
Name Description Type Example
id_message
sent in body
Message ID number 1234
id_folder
sent in body
Folder ID (if empty, the "My documents" folder is used)
optional
string some text
Example
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"
}
Returns

Count of exported attachments