取得會員點數
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
Authorizations
Query parameters
botIdstringRequired
The bot ID for the API request
Body
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
secretstringRequiredExample:
Secret key for API authentication
your_secret_key_here
clientIdsstring[] · max: 100OptionalExample:
Array of encoded client IDs (maximum 100 items)
["VolejRejN","AbCdEfGhI","XyZaBcDeF"]
platformstring · enumOptionalExample:
Platform type (required if platformClientIds provided)
line
Possible values: platformClientIdsstring[] · max: 100OptionalExample:
Array of platform-specific client IDs (maximum 100 items, required if platform provided)
["U1234567890abcdef","U9876543210fedcba"]
Responses
200
Client points retrieved successfully
application/json
Responseall of
401
JWT token is invalid or expired
application/json
403
Permission denied - insufficient access rights
application/json
404
Resource not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
post
POST /api/openapi/client/point HTTP/1.1
Host: mantago.cc
Authorization: Bearer JWT
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