quiz

Claim Reward

Idempotent token grant for one reward checkpoint. 409 means the persisted answers do not yet justify the checkpoint (client should flush answers and retry); 503 means the reward row is missing from token_rewards.

post/api/quiz/rewards/claim

Headers

x-user-idstring nullable

Request body

kind'initial' | 'continued' required
challenge_datestring date required
indexinteger nullable

Response

Successful Response

grantedboolean required
already_claimedboolean required
checkpoint_keystring required
amountinteger required
token_balanceinteger nullable

Changes

Changed in 1 of the 14 revisions of this API.1