取得會員點數
Retrieve the total available points for multiple clients.
Conditional validation rules:
Can provide 'clientIds' for encoded client IDs
Can provide both 'platform' and 'platformClientIds' for platform-specific client lookup
At least one of clientIds or (platform + platformClientIds) must be provided
The bot ID for the API request
Client identification rules:
- Can provide 'clientIds' for encoded client IDs
- Can provide both 'platform' and 'platformClientIds' for platform-specific client lookup
- At least one of clientIds or (platform + platformClientIds) must be provided
Secret key for API authentication
your_secret_key_here
Array of encoded client IDs (maximum 100 items)
["VolejRejN","AbCdEfGhI","XyZaBcDeF"]
Platform type (required if platformClientIds provided)
line
Possible values: Array of platform-specific client IDs (maximum 100 items, required if platform provided)
["U1234567890abcdef","U9876543210fedcba"]
Client points retrieved successfully
JWT token is invalid or expired
Permission denied - insufficient access rights
Resource not found
Rate limit exceeded
Internal server error
POST /api/openapi/client/point?botId=text HTTP/1.1
Host: mantago.cc
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 163
{
"secret": "your_secret_key_here",
"clientIds": [
"VolejRejN",
"AbCdEfGhI",
"XyZaBcDeF"
],
"platform": "line",
"platformClientIds": [
"U1234567890abcdef",
"U9876543210fedcba"
]
}
{
"success": true,
"message": "Get client points successfully",
"points": [
{
"platform": "line",
"clientId": "VolejRejN",
"points": 150
},
{
"platform": "line",
"platformClientId": "U1234567890abcdef",
"points": 200
}
]
}
Last updated