Get Started
Usage API
More information

POST api/2.0/mail/tags This function requires authentication

Description

Creates a new tag with the parameters specified in the request.

Parameters
Name Description Type Example
name
sent in body
Tag name string some text
style
sent in body
Style identificator: a postfix which represents the css style (tag color) string some text
addresses
sent in body
List of addresses which tag is associated with Collection of strings
collection
some text
Example
POST api/2.0/mail/tags
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "name": "some text",
  "style": "some text",
  "addresses": [
    "some text"
  ]
}
Returns

Mail tag