Check Survey Deprecated

GET /v1/client/networks/{networkId}/surveys/{surveyId}/check

Path parameters

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

  • sc_token string

    optional token for survey deduplication

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
  • 406 application/json

    VPN detected

    Hide response attributes Show response attributes object
GET /v1/client/networks/{networkId}/surveys/{surveyId}/check
curl \
 -X GET https://api.bitlabs.ai/v1/client/networks/{networkId}/surveys/{surveyId}/check \
 -H "X-Api-Token: $API_KEY" \
 -H "X-User-Id: $API_KEY"
Response examples (200)
{
  "data": {
    "can_open": true
  }
}
Response examples (406)
{
  "error": {
    "details": {
      "http": "406 Not Acceptable",
      "msg": "vpn detected"
    }
  }
}