Get Started
Portal api methods
Help

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

Description

Export attachment to MyDocuments

Parameters
Name Description Type Example
id_attachment
sent in body
Id of any attachment from the message number 1234
id_folder
sent in body
Id of Documents folder (if empty then @My)
optional
string some text
Example
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"
}
Returns

Id document in My Documents