Kleos API

Account

The endpoint to call first, and the one to call when something is behaving strangely.

Who this key belongs to

GET/v1/me

The first call to make. Confirms the key works, which mode it is in, and what it is allowed to do. Needs no permission beyond a valid key.

Permission: none beyond a valid key

Response

{
  "object": "account",
  "id": "e1b9c4e2-1f4e-4b0b-9f5a-2c1d0f7a41c8",
  "slug": "acme-dialer",
  "name": "Acme Dialer",
  "status": "test",
  "mode": "test",
  "country": "BE",
  "onboarding": {
    "kyb_status": "submitted",
    "agreement_signed": false,
    "agreement_version": null
  },
  "key": {
    "id": "b0a1…",
    "label": "Production backend",
    "prefix": "kls_test_",
    "last_four": "9f2c",
    "scopes": [
      "customers:read",
      "customers:write"
    ],
    "expires_at": null
  },
  "limits": {
    "requests_per_minute": 120,
    "burst": 240,
    "concurrent_calls": 3,
    "max_customers": null
  },
  "customers": {
    "count": 4
  }
}