Get Started
Portal api methods
Help

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

Description

Creates a new tag

Parameters
Name Description Type Example
name
sent in body
Tag name represented as string string some text
style
sent in body
Style identificator. With postfix will be added to tag css style whe it will represent. Specifies color of tag. string some text
addresses
sent in body
Specifies list of addresses tag 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

MailTag