Internal - Not for publishers

Get app settings v2

Changed on

Get App Settings V2 returns the settings of the app.

get/v1/client/settings/v2

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v1/client/settings/v2
  • Auth
    API key in header X-Api-Token

Query parameters

color_scheme'LIGHT' | 'DARK'
Example:DARK

optional parameter for setting color scheme of application (if appropriate visual object available)

Response

OK

Example response

{
  "data": {
    "currency": {
      "currency_promotion": 40,
      "bonus_percentage": 20,
      "name": "Points"
    },
    "logic": {
      "survey_bonus_percentage": 50
    },
    "promotion": {
      "start_date": "2022-01-01T00:00:00Z",
      "end_date": "2022-01-15T00:00:00Z",
      "bonus_percentage": 20
    }
  }
}

Changes