Skip to content

Authentication

Every B2B request carries the API key as a bearer token:

Authorization: Bearer afo_sk_live_<48 hex>
PartValueLength
Public prefixafo_sk_live_12 chars
Random suffix24 random bytes, hex-encoded48 chars
Total60 chars

The first 12 characters (afo_sk_live_) are stored in plaintext for display in the dashboard; the rest is only ever stored as a SHA-256 hash. We can never recover a token if you lose it — revoke the key and create a new one.

A key is bound to exactly one organization. The path you call must include the matching {organization_id}; mismatches return 403. This is enforced before any handler logic runs, so a leaked key cannot be used against a different organization even if the URL is wrong.

  • Manage other API keys (those routes require an Auth0 admin session).
  • Read/write user profiles, balances, or non-organization-scoped resources.
  • Sign payloads outside the configured scope set (see Scopes).