System Settings

Authentication: All endpoints require an Authorization: Bearer <access token> header.

System settings are platform-wide and are not scoped to a company. Do not send X-Company-ID or X-Location-ID headers for these queries.

See Authentication for details on how to obtain and use access tokens.

Query System Settings

GraphQL Query

query SystemSettings {
  systemSettings {
    key
    type
    value
    label
    updatedAt
  }
}

Example Variables

{}

Example Response

{
  "data": {
    "systemSettings": [
      {
        "key": "mobile:ess:min:version",
        "type": "STRING",
        "value": "4.0",
        "label": "Employee App Min Version",
        "updatedAt": null
      },
      {
        "key": "migration:pre:enabled",
        "type": "BOOLEAN",
        "value": "false",
        "label": "RoublerInt Pre-migration enabled",
        "updatedAt": null
      }
    ]
  }
}

Query System Setting

GraphQL Query

query SystemSetting($key: String!) {
  systemSetting(key: $key) {
    key
    type
    value
    label
    updatedAt
  }
}

Example Variables

{
  "key": "mobile:ess:min:version"
}

Example Response

{
  "data": {
    "systemSetting": {
      "key": "mobile:ess:min:version",
      "type": "STRING",
      "value": "4.0",
      "label": "Employee App Min Version",
      "updatedAt": null
    }
  }
}