Rewards
Claim a granted reward
Changed onReturns expired or already_claimed as a normal 200 result — both are states the app has copy for, and turning them into errors makes the claim button look broken. next_action tells the app where to go next.
post/api/rewards/grants/{id}/claim
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/rewards/grants/{id}/claim
- AuthHTTP bearer
Path parameters
idnumber required
Response
unknown required
Example response
{
"status": "claimed",
"next_action": "collect_address",
"grant": {
"id": 12,
"reward_type": "branded_water_bottle"
}
}Changes
- info
endpoint added
- info