建立個性化標籤

Create personal tag

post

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

Example: VIP Customer
Responses
post
/openapi/personalTag
POST /api/openapi/personalTag?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": "VIP Customer"
}
{
  "success": true,
  "message": "Create personal tag successfully"
}

Last updated