Open survey Deprecated
GET
/v1/client/networks/{networkId}/surveys/{surveyId}/open
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
. -
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
-
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)
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"
}
}
}