Skip to main content
Send your key on every request:
The key decides the workspace. There is no workspace header.

Keys

  • Create and revoke keys in Settings → API keys. Only owners and admins can.
  • A key acts with admin reach across the workspace. It can read every conversation, send replies and start operations that spend credits.
  • A workspace can hold several keys. To rotate one: create a new key, deploy it, then revoke the old one.
  • Expiry is optional. A revoked or expired key stops working on its next request.
  • The workspace needs an active subscription or trial. Without one, requests return 402 subscription_required.

Keep keys on the server

The API is for server-to-server use. It sends no CORS headers, so a browser cannot call it. Never ship a key in a web page or a mobile app.

Failures