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, or WEB.

  • os string Deprecated

    Operating System of the user

    Values are ANDROID, IOS, or DESKTOP.

  • sdk string

    SDK the user is using

    Values are CUSTOM, IFRAME, TAB, NATIVE, UNITY, REACT, or FLUTTER.

  • optional fingerprint for survey filtering

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
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
  }
}