帳號綁定
Bind a customer to the current session or context
Authorizations
Query parameters
botIdstringRequired
The bot ID for the API request
Body
secretstringRequiredExample:
Secret key for API authentication
your_secret_key_here
clientIdstringRequiredExample:
The client ID (platform UUID) to bind/unbind
client_123
customerIdstringRequiredExample:
The customer ID to bind/unbind
customer_456
Responses
200
Customer bound successfully
application/json
401
JWT token is invalid or expired
application/json
403
Permission denied - insufficient access rights
application/json
404
OpenAPI configuration not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
post
POST /api/openapi/bind/customer HTTP/1.1
Host: mantago.cc
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"secret": "your_secret_key_here",
"clientId": "client_123",
"customerId": "customer_456"
}
{
"success": true,
"message": "Bind customer successfully"
}
Last updated