Get Started
Usage API
More information

PUT api/2.0/mail/tags/{id}/set This function requires authentication

Description

Adds a tag with the ID specified in the request to the messages.

Parameters
Name Description Type Example
id
sent in url
Tag ID number 1234
messages
sent in body
List of message IDs System.Collections.Generic.List`1[System.Int32]
Example
PUT api/2.0/mail/tags/1234/set
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "messages": [
    1234
  ]
}
Returns

Added mail tag