Skip to main content

Redeem Quest

Redeeming quests accepts a "quest code." This quest code can be one time use, limited use, or unlimited use, and grants users the reward tokens associated with the quest.

Endpoint

POST https://api.juicelabs.io/v1/quests/redeem

Authorization Header

X-API-KEY: [YOUR_API_KEY]

Request Body

{
"code": "9494",
"redeemerAddress": "0x0329beF73Dc97B79cB90b3D2FdFB88C7A8FB58eD",
"teamId": "3704344a-92b0-41c4-a16e-d1f240eb7170"
}

Response Shape

{
"success": true,
"data": {
"...": "..."
}
}