Get Started
Portal api methods
Help

GET api/2.0/mail/messages/{id} This function requires authentication

Description

Returns the detailed information about message with the ID specified in the request

Parameters
Name Description Type Example
id
sent in url
Message ID number 1234
loadImages
sent in url
Unblock suspicious content or not
optional
Bool value true
needSanitize
sent in url
Flag specifies is needed to prepare html for FCKeditor
optional
Bool value true
markRead
sent in url
Mark message as read
optional
Bool value true
Example
GET api/2.0/mail/messages/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

MailMessageItem