Open survey Deprecated

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

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.

  • rating integer Required
  • cr number(float) Required
  • loi integer Required
  • cpi string Required
  • rr number(float) Required
  • stats string(date-time)

    optional internal debugging timestamp

  • its string(date-time)

    optional internal debugging timestamp

  • mts string(date-time)

    optional internal debugging timestamp

  • test_group integer

    optional test group id

  • tags string(URL-encoded query)

    optional set of custom tags

  • data string(URL-encoded query)

    optional set of internal information

  • maid string

    optional mobile advertising id (MAID)

  • hash string Required

    url hash (for security reasons)

Responses

  • 307

    Redirect

  • 406 application/json

    VPN detected

    Hide response attribute Show response attribute object
GET /v1/client/networks/{networkId}/surveys/{surveyId}/open
curl \
 -X GET https://api.bitlabs.ai/v1/client/networks/{networkId}/surveys/{surveyId}/open?rating=42&cr=42.0&loi=42&cpi=string&rr=42.0&hash=string \
 -H "X-Api-Token: $API_KEY" \
 -H "X-User-Id: $API_KEY"
Response examples (406)
{
  "error": {
    "details": {
      "http": "406 Not Acceptable",
      "msg": "vpn detected"
    }
  }
}