Skip to main content
Every request to /api/v1 carries a bearer token:
There are three kinds of credential. Pick the narrowest one that works.

Scopes

Each API key carries explicit scopes and an optional expiry. A request that needs a scope the key lacks answers 403; an expired or revoked key answers 401. Create keys in Dashboard > API keys and tick only what the server needs.
Legacy keysKeys created before scopes existed show as “legacy” in the dashboard and keep only events:write, meters:read and balance:read. They never silently gain new powers.

Keep keys safe

  • Server-side only. Anything in a browser bundle or mobile app is public.
  • One key per service, scoped to that service.
  • Rotate by creating the new key, deploying it, then revoking the old one.
  • Load keys from environment variables or your secret manager, never from source control.

Public endpoints

License key validation, activation and deactivation take no API key: the organization_id plus the secret license key are the credentials, so they are safe to call from your customers’ software. See License keys.