TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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

Description

Returns a list of all the tags used in the Mail module.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/mail/tags
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of tags represented as JSON

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": 1234,
      "name": "name",
      "style": "style",
      "addresses": [
        "addresses"
      ],
      "lettersCount": 1234
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>1234</id>
    <name>name</name>
    <style>style</style>
    <addresses>addresses</addresses>
    <lettersCount>1234</lettersCount>
  </response>
</result>