For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Client Points

Get client points

post

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
AuthorizationstringRequired

Bearer token for API authentication

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
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
clientIdsstring[] · max: 100Optional

Array of encoded client IDs (maximum 100 items)

Example: ["VolejRejN","AbCdEfGhI","XyZaBcDeF"]
platformstring · enumOptional

Platform type (required if platformClientIds provided)

Example: linePossible values:
platformClientIdsstring[] · max: 100Optional

Array of platform-specific client IDs (maximum 100 items, required if platform provided)

Example: ["U1234567890abcdef","U9876543210fedcba"]
Responses
200

Client points retrieved successfully

application/json
successbooleanRequiredExample: true
messagestringRequiredExample: Operation completed successfully
post/openapi/client/point
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
    }
  ]
}