建立手動標籤

Create client tag

post

Create a new client tag for bot client categorization

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Query parameters
botIdstringRequired

The bot ID for the API request

Body
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
namestringRequired

The name of the client tag

Example: Important Client
Responses
200

Client tag created successfully

application/json
post
/openapi/clientTag
POST /api/openapi/clientTag?botId=text HTTP/1.1
Host: mantago.cc
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "secret": "your_secret_key_here",
  "name": "Important Client"
}
{
  "success": true,
  "message": "Create client tag successfully"
}

Last updated