Workspaces and API keys

The platform is organized around workspaces. A workspace is the container for channels, contacts, messages and campaigns. Several workspaces belong to one organisation, which holds the prepaid balance they share. Your API key is tied to exactly one workspace — it cannot access resources from another. Organisation-wide keys are coming soon; for several brands or clients, see Manage multiple brands and agents. A user (the person logged into the dashboard) can be a member of multiple workspaces and switch between them. API automation uses keys, not user sessions — they are separate credentials for separate purposes.

Bearer tokens

Every /v1 REST request carries:
  • Keys are scoped to a workspace — not a user.
  • Keys are created and revoked in the dashboard under Settings → API & webhooks.
  • Each key carries permissions; every route needs one of them. The full table is in Authentication → Permissions.
  • Rate limits apply per key.
The gateway resolves the workspace and the key’s permissions from the key.

Do not mix credentials

Use only API keys for /v1 REST calls. Do not substitute user session tokens or dashboard secrets — they are not interchangeable and will return 401.

Security checklist

1

Store secrets properly

Use a secrets manager or environment variables—never commit keys to git.
2

Rotate on events

Rotate keys after role changes, leaks, or offboarding: create the new key, deploy it, then revoke the old one. A key can get an optional end date when it is created; without one it works until revoked. Several can be active at once.
3

Separate environments

Prefer distinct keys for staging and production when policy allows.

API reference

Header format and error behavior are summarized in API overview.