Authorizations
Dynamic authentication JWT token
curl --request GET \
--url http://localhost:4000/api/waitlist/v2/challenges \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"challenges": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"type": "weekly",
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"rewardAmount": 123,
"requirements": {},
"userProgress": {
"joined": true,
"progress": 123,
"completed": true
}
}
]
}
}
Get available challenges and their status
curl --request GET \
--url http://localhost:4000/api/waitlist/v2/challenges \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"challenges": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"type": "weekly",
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"rewardAmount": 123,
"requirements": {},
"userProgress": {
"joined": true,
"progress": 123,
"completed": true
}
}
]
}
}
Dynamic authentication JWT token