帳號綁定

Bind customer

post

Bind a customer to the current session or context

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
clientIdstringRequired

The client ID (platform UUID) to bind/unbind

Example: client_123
customerIdstringRequired

The customer ID to bind/unbind

Example: customer_456
Responses
200

Customer bound successfully

application/json
post
/openapi/bind/customer
POST /api/openapi/bind/customer?botId=text HTTP/1.1
Host: mantago.cc
Authorization: Bearer YOUR_SECRET_TOKEN
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