建立自動標籤

Create auto tag

post

Create a new auto tag for automatic 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 auto tag

Example: New Auto Tag
Responses
200

Auto tag created successfully

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

{
  "secret": "your_secret_key_here",
  "name": "New Auto Tag"
}
{
  "success": true,
  "message": "Create auto tag successfully"
}

Last updated