GET /v1/client/user
curl \
-X GET https://api.bitlabs.ai/v1/client/user \
-H "X-Api-Token: $API_KEY" \
-H "X-User-Id: $API_KEY"
Response examples (200)
{
"data": {
"app_id": 42,
"uid": "string",
"user_id": 42,
"username": "string",
"email": "hello@example.com",
"consent_general": "2022-01-01T12:00:00Z",
"consent_analytics": "2022-01-01T12:00:00Z",
"consent_advertising": "2022-01-01T12:00:00Z",
"terms_of_service_version": 42,
"privacy_policy_version": 42,
"custom_fields": [
{
"id": "string",
"value": "string"
}
],
"offerwall_code": "string",
"country": "US, GB, DE, etc."
}
}
Response examples (406)
{
"error": {
"details": {
"msg": "vpn detected",
"http": "406 Not Acceptable"
}
}
}