X-API-Key header:
Authorization: Bearer vak_call_… works too, if your HTTP tool prefers it.
Creating and revoking keys
An admin of your account manages keys in CRM → Calling → AI Calling Settings → API & webhooks (see Getting API access):- Create key issues a new key. It is shown once; we store only a hash and cannot show it again.
- An optional expiry date makes the key stop working at the end of that day.
- Revoke stops a key at once. Calls it already queued still go ahead.
Scopes
A key created in the dashboard hascalls:read, calls:write and webhooks:manage. The human-call and management scopes are only on keys created with their box ticked, because they let a key ring your staff’s phones, add logins to your account or change what your callers hear. A request the key is not allowed to make fails with 403 insufficient_scope.
calls:read also reads GET /agents/{id} (a summary without the script, handoff numbers, action rules and booking page; agents:manage sees everything), GET /voices, GET /settings/default-agent and GET /numbers; human_calls:read also reads GET /counsellors/{id}.
Keys cannot be changed after they are created. To use human calls or the management endpoints with an existing integration, create a new key with the box ticked, switch your server to it, then revoke the old one. Keys created before 17 October 2026 never have the human-call scopes, and keys created before 19 October 2026 never have the management scopes.
Errors
Keeping keys safe
- Call the API from your server only. A key inside a web page or an app can be read by anyone who opens it.
- Store keys in a secret manager or environment variables, not in code.
- If a key may have leaked, create a new one, switch your system to it, then revoke the old one.