Query parameters
-
color_scheme string
optional parameter for setting color scheme of application (if appropriate visual object available)
Values are
LIGHT
orDARK
.
GET /v1/client/settings/v2
curl \
-X GET https://api.bitlabs.ai/v1/client/settings/v2 \
-H "X-Api-Token: $API_KEY"
Response examples (200)
{
"data": {
"currency": {
"floor_decimal": true,
"factor": "string",
"symbol": {
"content": "string",
"is_image": true
},
"currency_promotion": 40,
"bonus_percentage": 20,
"name": "Points"
},
"logic": {
"mode": "API",
"privacy_enabled": true,
"skip_question_enabled": true,
"header_navigation_visible": true,
"watermark_visible": true,
"survey_bonus_enabled": true,
"demo_mode_enabled": true,
"survey_opening_target": "OPENING_TARGET_NONE",
"survey_complete_target": "COMPLETE_TARGET_CLOSE_TAB",
"first_qualification": {
"start_bonus": "string",
"show": true
},
"survey_complete_target_url": "string",
"survey_bonus_percentage": 50,
"default_tab": "TAB_SURVEYS",
"enabled_widgets": [
"WIDGET_EARNINGS"
]
},
"visual": {
"element_border_radius": "BORDER_RADIUS_NONE",
"custom_logo_url": "string",
"screenout_reward": "string",
"navigation_color": "string",
"background_color": "string",
"interaction_color": "string",
"survey_icon_color": "string",
"color_rating_threshold": 42,
"offerwall_width": "string",
"hide_reward_value": true,
"show_cross_tab_offers": true
},
"promotion": {
"start_date": "2022-01-01T00:00:00Z",
"end_date": "2022-01-15T00:00:00Z",
"bonus_percentage": 20
},
"offers": {
"enabled": true,
"offer_blacklist": [
"string"
]
},
"publisher": {
"is_key_partner": true,
"name": "string"
},
"enable_mparticle_events": true,
"chatbot_config": {
"id": "string",
"background": "string",
"ref": 42
},
"magic_receipts": {
"enabled": true,
"test_mode": true,
"enabled_countries": [
"string"
]
},
"auths": {
"custom_fields": [
{
"id": "string",
"data_type": "STRING",
"validation_exp": "string",
"title": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"description": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"placeholder": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"format_example": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
],
"enabled": true
},
"gaming": {
"enabled": true
},
"user_balance": {
"enabled": true
},
"landing_page": {
"enabled": true,
"hero_image_url": "string",
"explore_image_url": "string"
},
"loyalty": {
"program_name": "string"
}
}
}
Response examples (406)
{
"error": {
"details": {
"msg": "vpn detected",
"http": "406 Not Acceptable"
}
}
}