Get User Grant Cycle
curl --request GET \
--url https://developer.world.org/api/v2/minikit/user-grant-cycle \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://developer.world.org/api/v2/minikit/user-grant-cycle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status": 123,
"result": {
"nextGrantClaimUTCDate": "2023-11-07T05:31:56Z"
}
}Developer Portal
Get User Grant Cycle
Retrieve the next grant claim date for a user of your mini app. Returns the user’s humanity (orb-verified) grant cycle date if available, otherwise falls back to their document (passport-verified) grant cycle date.
GET
/
api
/
v2
/
minikit
/
user-grant-cycle
Get User Grant Cycle
curl --request GET \
--url https://developer.world.org/api/v2/minikit/user-grant-cycle \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://developer.world.org/api/v2/minikit/user-grant-cycle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status": 123,
"result": {
"nextGrantClaimUTCDate": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The wallet_address of the user to query. Must be exactly 42 characters long.
Required string length:
42The app_id of your mini app.
Was this page helpful?