取得會員獎項

Get client gifts

post

Retrieve all gifts (virtual, physical, and tickets) for a specific client.

Gift types:

  • Virtual Gifts: Virtual type gifts

  • Physical Gifts: Physical type gifts

  • Tickets: Coupons (default gift) that are unused

Conditional validation rules:

  • Either provide 'clientId' OR both 'platform' and 'platformClientId'

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Query parameters
botIdstringRequired

The bot ID for the API request

platformClientIdstringOptional

Platform-specific client ID (required if clientId not provided in body)

platformstring · enumOptional

Platform type (required if platformClientId provided)

Possible values:
Body

Client identification rules:

  • Either provide 'clientId' OR both 'platform' and 'platformClientId'
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
clientIdstringOptional

The client ID (required if platform + platformClientId not provided)

Example: client456
platformstring · enumOptional

Platform type (required if platformClientId provided)

Example: linePossible values:
platformClientIdstringOptional

Platform-specific client ID (required if clientId not provided)

Example: U1234567890abcdef
Responses
chevron-right
200

Client gifts retrieved successfully

application/json
post
/openapi/client/gift

Last updated