Skip to main content
GET
Validate a code

授权

Authorization
string
header
必填

The API key's secret (osk_…), shown once when the key is created in the console.

路径参数

eventId
string
必填

查询参数

code
string
必填
Required string length: 1 - 64
示例:

"VIP2026"

响应

The code is valid; what it unlocks.

code
string
必填
ticketType
object
必填
perks
object[]
必填
discount
object | null
必填