User
Get user
Changed onReturns information and identifier of the requesting user
get/v1/client/user
Request
- Base URLhttps://api.bitlabs.ai
- URLhttps://api.bitlabs.ai/v1/client/user
- Auth
- API key in header X-Api-Token and API key in header X-User-Id
- or API key in query parameter token and API key in query parameter uid
- or HTTP bearer
Response
OK
Example response
{
"data": {
"consent_general": "2022-01-01T12:00:00Z",
"consent_analytics": "2022-01-01T12:00:00Z",
"consent_advertising": "2022-01-01T12:00:00Z",
"country": "US, GB, DE, etc.",
"is_spin_available": true,
"spin_details": {
"periodicity": "DAILY",
"timezone": "UTC",
"min_level": 5,
"prize_pool": [
{
"type": "reward-user-currency",
"weight": 0.3,
"prize_data": {
"amount": "100"
}
}
]
},
"earnings": {
"total": {
"today": "12.34",
"last_30_days": "56.78",
"total": "90.12"
},
"demands": [
{
"demand": "surveys",
"today": "12.34",
"last_30_days": "56.78",
"total": "90.12"
}
]
}
}
}Changes
- info
added the required property
/to the response with the status
- info