Method create.tags
Description Creating a tag
Available to Partner, Client

Request parameters

Title Type Required Description
access_token string yes Authentication session key
user_id number no Unique user identifier of the client agent on behalf of which the request is made
Is required for the agent
To obtain a list of client users, you must use the method "get.customer_users"
name string yes Tag name

Response parameters

Title Type Required Description
id number yes Unique tag identifier

JSON request structure```json

{ "jsonrpc":"2.0", "id":"number", "method":"create.tags", "params":{ "access_token":"string", "user_id":"number", "name":"string" } }

### JSON response structure```json
{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{
    "id":"number"
  }
}

List of returned errors

See the section "List of errors for methods with the create verb"