API
App Configuration

3. Configuration

Configuration object contains information about how application should behave. It's usually consists of key-value pair, but also can contain more complicated types.

To retrieve configuration use following graphql query:

query Platform {
  platform {
    data {
      attributes {
        autentiConfig
        flags
        isMaintenance
        socials {
          name
          url
        }
        veriffConfig
        zenConfig
      }
    }
  }
}

Authorization: None

Flags is a dynamic JSON object that contains feature flags and their values. The response:

{
  "data": {
    "platform": {
      "data": {
        "attributes": {
          "autentiConfig": null,
          "flags": {
            "TERMS_URL": "...",
            ...other keys
          },
          "isMaintenance": false,
          "socials": [],
          "veriffConfig": null,
          "zenConfig": null
        }
      }
    }
  }
}

Known configuration flags:

  • TERMS_URL: url to terms and conditions