Create tags
Method |
create.tags |
Description |
Creating tags |
Who has access |
Partner, Customer |
Parameters of a request
Title |
Type |
Required |
Description |
access_token |
string |
yes |
Authentication session key |
user_id |
number |
no |
Unique ID of an agent's customer user who makes request Is required for agent To access a list of customer users, use the method "get.customer_users" |
name |
string |
yes |
Tag name |
Parameters of a reply
Title |
Type |
Required |
Description |
id |
number |
yes |
Tag unique ID |
JSON request structure
{
"jsonrpc":"2.0",
"id":"number",
"method":"create.tags",
"params":{
"access_token":"string",
"user_id":"number",
"name":"string"
}
}
JSON reply structure
{
"jsonrpc":"2.0",
"id":"number",
"result":{
"id":"number"
}
}
List of returning errors
Refer to the section "List of errors for the methods with the verb create"