Check surveys Deprecated
GET
/v1/client/check
The endpoint is similar to GET /client/actions
as it returns if the user can perform an action (either opening
a survey or answering qualifications). It is faster than the actual Actions endpoint because it leaves out
additional information fetching. If you want to perform background checks if surveys are available, this is the
best option.
Query parameters
-
platform string Deprecated
Platform/Device type of the user
Values are
MOBILE
,TABLET
, orWEB
. -
os string Deprecated
Operating System of the user
Values are
ANDROID
,IOS
, orDESKTOP
. -
sdk string
SDK the user is using
Values are
CUSTOM
,IFRAME
,TAB
,NATIVE
,UNITY
,REACT
, orFLUTTER
. -
sc_fingerprint string
optional fingerprint for survey filtering
GET /v1/client/check
curl \
-X GET https://api.bitlabs.ai/v1/client/check \
-H "X-Api-Token: $API_KEY" \
-H "X-User-Id: $API_KEY"
Response examples (200)
{
"data": {
"has_surveys": true
}
}