Exports an attachment with the ID specified in the request to the folder with documents.
Name | Description | Type | Example |
id_attachment
sent in body
|
Attachment 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/attachment/export Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "id_attachment": 1234, "id_folder": "some text" }
Document ID in the folder with documents