---
updatedAt: 2026-05-20T09:44:11.000Z
agentTools:
  projectIndex: https://developer.bitlabs.ai/llms.txt
---

# Get app settings v2

Get App Settings V2 returns the settings of the app.


# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2.0.160",
    "title": "BitLabs Client API",
    "description": "BitLabs' public API to be integrated by our own products as well as publishers who desire maximum customization.\n",
    "contact": {
      "name": "BitLabs",
      "email": "contact@bitlabs.ai",
      "url": "https://bitlabs.ai"
    }
  },
  "servers": [
    {
      "url": "https://api.bitlabs.ai"
    }
  ],
  "security": [
    {
      "HeaderApiToken": [],
      "HeaderUserId": []
    },
    {
      "QueryApiToken": [],
      "QueryUserId": []
    },
    {
      "HeaderBearerToken": []
    }
  ],
  "tags": [
    {
      "name": "Internal - Not for publishers",
      "description": "Internal endpoints not to be used by publisher API integrations. Incorrect usage might lead to errors and bad\nuser experience.\n"
    }
  ],
  "paths": {
    "/v1/client/settings/v2": {
      "get": {
        "summary": "Get app settings v2",
        "operationId": "getAppSettingsV2",
        "description": "Get App Settings V2 returns the settings of the app.\n",
        "tags": [
          "Internal - Not for publishers"
        ],
        "security": [
          {
            "HeaderApiToken": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/QueryColorScheme"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/AppSettingsV2"
                    }
                  }
                }
              }
            }
          },
          "406": {
            "$ref": "#/components/responses/VpnBlock"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "HeaderApiToken": {
        "type": "apiKey",
        "name": "X-Api-Token",
        "in": "header",
        "description": "ApiToken of your BitLabs app."
      },
      "HeaderUserId": {
        "type": "apiKey",
        "name": "X-User-Id",
        "in": "header",
        "description": "Unique identifier of the user you are sending to BitLabs. These are passed back to you in callbacks to allow\nyou to identify your users. If possible, use UUIDs, numerical IDs or ASCII strings to avoid formatting issues.\nDo NOT use JWT or other sensitive tokens to identify your users. We only support up to 65 character long ids.\n"
      },
      "QueryApiToken": {
        "type": "apiKey",
        "name": "token",
        "in": "query",
        "description": "ApiToken of your BitLabs app."
      },
      "QueryUserId": {
        "type": "apiKey",
        "name": "uid",
        "in": "query",
        "description": "Unique identifier of the user you are sending to BitLabs. These are passed back to you in callbacks to allow\nyou to identify your users. If possible, use UUIDs, numerical IDs or ASCII strings to avoid formatting issues.\nDo NOT use JWT or other sensitive tokens to identify your users. We only support up to 65 character long ids.\n"
      },
      "HeaderBearerToken": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Enter the token with the `Bearer ` prefix, e.g. \"Bearer abcde12345\".\n"
      }
    },
    "parameters": {
      "QueryColorScheme": {
        "name": "color_scheme",
        "in": "query",
        "description": "optional parameter for setting color scheme of application (if appropriate visual object available)",
        "schema": {
          "type": "string",
          "enum": [
            "LIGHT",
            "DARK"
          ],
          "example": "DARK"
        }
      }
    },
    "responses": {
      "VpnBlock": {
        "description": "VPN detected",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "data": {
                  "type": "object"
                }
              }
            },
            "example": {
              "error": {
                "details": {
                  "http": "406 Not Acceptable",
                  "msg": "vpn detected"
                }
              }
            }
          }
        }
      }
    },
    "schemas": {
      "AppSettingsV2": {
        "type": "object",
        "required": [
          "currency",
          "logic",
          "visual",
          "offers",
          "publisher",
          "magic_receipts",
          "auths",
          "gaming",
          "user_balance",
          "landing_page",
          "loyalty"
        ],
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/AppSettingsV2Currency"
          },
          "logic": {
            "$ref": "#/components/schemas/AppSettingsV2Logic"
          },
          "visual": {
            "$ref": "#/components/schemas/AppSettingsV2Visual"
          },
          "promotion": {
            "$ref": "#/components/schemas/AppSettingsV2Promotion"
          },
          "offers": {
            "$ref": "#/components/schemas/AppSettingsV2Offers"
          },
          "publisher": {
            "$ref": "#/components/schemas/AppSettingsV2Publisher"
          },
          "chatbot_config": {
            "$ref": "#/components/schemas/AppSettingsChatbotConfig"
          },
          "magic_receipts": {
            "$ref": "#/components/schemas/AppSettingsV2MagicReceipts"
          },
          "auths": {
            "$ref": "#/components/schemas/AppSettingsV2Auths"
          },
          "gaming": {
            "$ref": "#/components/schemas/AppSettingsV2Gaming"
          },
          "user_balance": {
            "$ref": "#/components/schemas/AppSettingsV2UserBalance"
          },
          "landing_page": {
            "$ref": "#/components/schemas/AppSettingsV2LandingPage"
          },
          "loyalty": {
            "$ref": "#/components/schemas/AppSettingsV2Loyalty"
          }
        }
      },
      "AppSettingsV2Currency": {
        "type": "object",
        "required": [
          "floor_decimal",
          "factor",
          "symbol",
          "bonus_percentage",
          "name"
        ],
        "properties": {
          "floor_decimal": {
            "type": "boolean"
          },
          "factor": {
            "type": "string"
          },
          "symbol": {
            "$ref": "#/components/schemas/AppSettingsV2CurrencySymbol"
          },
          "currency_promotion": {
            "type": "integer",
            "example": 40
          },
          "bonus_percentage": {
            "type": "integer",
            "example": 20
          },
          "name": {
            "type": "string",
            "example": "Points"
          }
        }
      },
      "AppSettingsV2CurrencySymbol": {
        "type": "object",
        "required": [
          "content",
          "is_image"
        ],
        "properties": {
          "content": {
            "type": "string"
          },
          "is_image": {
            "type": "boolean"
          }
        }
      },
      "AppSettingsV2Logic": {
        "type": "object",
        "required": [
          "mode",
          "privacy_enabled",
          "skip_question_enabled",
          "header_navigation_visible",
          "watermark_visible",
          "survey_bonus_enabled",
          "demo_mode_enabled",
          "survey_opening_target",
          "survey_complete_target",
          "first_qualification",
          "survey_complete_target_url",
          "survey_bonus_percentage",
          "default_tab",
          "enabled_widgets"
        ],
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "API",
              "OFFERWALL",
              "ROUTER_LINK"
            ]
          },
          "privacy_enabled": {
            "type": "boolean"
          },
          "skip_question_enabled": {
            "type": "boolean"
          },
          "header_navigation_visible": {
            "type": "boolean"
          },
          "watermark_visible": {
            "type": "boolean"
          },
          "survey_bonus_enabled": {
            "type": "boolean"
          },
          "demo_mode_enabled": {
            "type": "boolean"
          },
          "survey_opening_target": {
            "type": "string",
            "enum": [
              "OPENING_TARGET_NONE",
              "OPENING_TARGET_NEW_TAB",
              "OPENING_TARGET_SAME_TAB",
              "OPENING_TARGET_PARENT",
              "OPENING_TARGET_AUTOMATIC"
            ]
          },
          "survey_complete_target": {
            "type": "string",
            "enum": [
              "COMPLETE_TARGET_CLOSE_TAB",
              "COMPLETE_TARGET_NEW_SURVEY",
              "COMPLETE_TARGET_URL"
            ]
          },
          "first_qualification": {
            "$ref": "#/components/schemas/AppSettingsV2FirstQualification"
          },
          "survey_complete_target_url": {
            "type": "string"
          },
          "survey_bonus_percentage": {
            "type": "integer",
            "example": 50
          },
          "default_tab": {
            "type": "string",
            "enum": [
              "TAB_SURVEYS",
              "TAB_OFFERS",
              "TAB_GAMING",
              "TAB_MAGIC_RECEIPTS"
            ]
          },
          "enabled_widgets": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "WIDGET_EARNINGS",
                "WIDGET_LEADERBOARD",
                "WIDGET_TRENDING_SURVEY",
                "WIDGET_QUALIFICATION_QUESTION"
              ]
            }
          }
        }
      },
      "AppSettingsV2FirstQualification": {
        "type": "object",
        "required": [
          "start_bonus",
          "show"
        ],
        "properties": {
          "start_bonus": {
            "type": "string"
          },
          "show": {
            "type": "boolean"
          }
        }
      },
      "AppSettingsV2Visual": {
        "type": "object",
        "required": [
          "element_border_radius",
          "custom_logo_url",
          "screenout_reward",
          "navigation_color",
          "background_color",
          "interaction_color",
          "survey_icon_color",
          "color_rating_threshold",
          "offerwall_width",
          "hide_reward_value",
          "show_cross_tab_offers"
        ],
        "properties": {
          "element_border_radius": {
            "type": "string",
            "enum": [
              "BORDER_RADIUS_NONE",
              "BORDER_RADIUS_SMALL",
              "BORDER_RADIUS_MEDIUM",
              "BORDER_RADIUS_BIG"
            ]
          },
          "custom_logo_url": {
            "type": "string"
          },
          "screenout_reward": {
            "type": "string"
          },
          "navigation_color": {
            "type": "string"
          },
          "background_color": {
            "type": "string"
          },
          "interaction_color": {
            "type": "string"
          },
          "survey_icon_color": {
            "type": "string"
          },
          "color_rating_threshold": {
            "type": "integer"
          },
          "offerwall_width": {
            "type": "string"
          },
          "hide_reward_value": {
            "type": "boolean"
          },
          "show_cross_tab_offers": {
            "type": "boolean"
          }
        }
      },
      "AppSettingsV2Promotion": {
        "type": "object",
        "required": [
          "start_date",
          "end_date",
          "bonus_percentage"
        ],
        "properties": {
          "start_date": {
            "type": "string",
            "format": "date-time",
            "example": "2022-01-01T00:00:00Z",
            "description": "The start date of the promotion. Can be in the future to signal a scheduled promotion."
          },
          "end_date": {
            "type": "string",
            "format": "date-time",
            "example": "2022-01-15T00:00:00Z",
            "description": "The end date of the promotion. It is inclusive, meaning that the promotion is active for the full given day."
          },
          "bonus_percentage": {
            "type": "integer",
            "example": 20
          }
        }
      },
      "AppSettingsV2Offers": {
        "type": "object",
        "required": [
          "enabled",
          "offer_blacklist"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "offer_blacklist": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AppSettingsV2Publisher": {
        "type": "object",
        "required": [
          "is_key_partner",
          "name"
        ],
        "properties": {
          "is_key_partner": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "AppSettingsV2MagicReceipts": {
        "type": "object",
        "required": [
          "enabled",
          "test_mode",
          "enabled_countries"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "test_mode": {
            "type": "boolean"
          },
          "enabled_countries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AppSettingsV2Gaming": {
        "type": "object",
        "required": [
          "enabled"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "AppSettingsV2Auths": {
        "type": "object",
        "required": [
          "custom_fields",
          "enabled"
        ],
        "properties": {
          "custom_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppSettingsV2CustomField"
            }
          },
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "AppSettingsV2UserBalance": {
        "type": "object",
        "required": [
          "enabled"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "AppSettingsV2LandingPage": {
        "type": "object",
        "required": [
          "enabled",
          "hero_image_url",
          "explore_image_url"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "hero_image_url": {
            "type": "string"
          },
          "explore_image_url": {
            "type": "string"
          }
        }
      },
      "AppSettingsV2Loyalty": {
        "type": "object",
        "required": [
          "program_name"
        ],
        "properties": {
          "program_name": {
            "type": "string"
          }
        }
      },
      "AppSettingsV2CustomField": {
        "type": "object",
        "required": [
          "id",
          "data_type",
          "validation_exp",
          "title",
          "description",
          "placeholder",
          "format_example"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "data_type": {
            "type": "string",
            "enum": [
              "STRING",
              "INTEGER",
              "DATE"
            ]
          },
          "validation_exp": {
            "type": "string"
          },
          "validation_is_unique": {
            "type": "boolean",
            "description": "When true, the value must be unique across the app; only one user can have that value for this custom field."
          },
          "title": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "description": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "placeholder": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "format_example": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "AppSettingsChatbotConfig": {
        "type": "object",
        "required": [
          "id",
          "background",
          "ref"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "background": {
            "type": "string"
          },
          "ref": {
            "type": "integer"
          }
        }
      }
    }
  }
}
```