Skip to main content

Overview

Creates a conversation tag for grouping a user's conversations. The tag is synchronized automatically across the user's clients.

Request

Authentication: Add authentication headers to the request. See Authentication.

Method: POST

Rate limit: 100 requests/second

Endpoint: https://API domain/apigateway/convers/tags/create

Content-Type: application/json

Request Parameters

ParameterData TypeRequiredDescription
user_idstringYesID of the user creating the tag. Maximum length: 32 characters.
tagstringYesTag identifier. Maximum length: 50 characters.
tag_namestringNoTag name. Maximum length: 50 characters.
tag_orderintNoTag sort order. Lower values appear first.

Request Example

POST /apigateway/convers/tags/create HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json

{
"user_id":"userid1",
"tag":"tag1",
"tag_name":"Work",
"tag_order":1
}

Response Example

{
"code":0,
"msg":"sucess"
}