POST api/2.0/crm/contact/filter/taglist This function requires authentication

Description

Adds the selected tag to the group of contacts with the parameters specified in the request.

Parameters
Name Description Type Example
tags
sent in body
Contact tags
optional
Collection of strings
collection
some text
contactStage
sent in body
Contact stage ID (warmth)
optional
number 1234
contactType
sent in body
Contact type ID
optional
number 1234
contactListView
sent in body
Contact list view
Allowed values: Company, Person, WithOpportunity
optional
All, Company, Person, WithOpportunity
fromDate
sent in body
Start date
optional
Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
toDate
sent in body
End date
optional
Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
tagName
sent in body
Tag name string some text
Example
POST api/2.0/crm/contact/filter/taglist
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "tags": [
    "some text"
  ],
  "contactStage": 1234,
  "contactType": 1234,
  "contactListView": "company",
  "fromDate": "2008-04-10T06-30-00.000Z",
  "toDate": "2008-04-10T06-30-00.000Z",
  "tagName": "some text"
}
Returns

Tag