Authentication & scopes
Every /v1 call needs an API key. Scopes on that key decide which routes it can use.
Header
X-API-Key: abr_live_…
X-API-Version: 1
X-API-Version: 1 is optional. /v1 already selects the version; an unsupported value returns 400.
Create keys in Settings → API Keys. See Create an API key. Only organisation owners and admins can create, see and revoke keys. A key stops working if the person who created it is no longer an owner or admin of the organisation. Test and live use the same host; only the prefix changes (abr_test_… vs abr_live_…).
Scopes
Scopes are chosen when the key is created. They cannot be edited later — revoke and create a new key.
Scopes and what they allow:
| Scope | Allows |
|---|---|
verify:submit |
POST /v1/projects, POST /v1/projects/{id}/resumptions, POST /v1/projects/{id}/review/resumptions |
verify:read |
GET /v1/projects, GET /v1/projects/{id}, and the deliverable list and single-deliverable routes |
text:translate |
Translate short texts (beta): POST /v1/text/translate. |
usage:read |
GET /v1/usage: list the organisation's usage, with who each charge was for. Admin and owner keys only. |
webhooks:manage |
Every /v1/webhooks route: create, list, read, update and delete subscriptions, send a test event, and read and redeliver the delivery log. Admin and owner keys only. |
media:submit |
Submit audio and video files for transcription (beta): POST /v1/projects with an audio or video file, and PUT /v1/projects/{id}/subtitles/{language_code}. Keys with this scope can only be created by a Member or above. |
verify:submit and verify:read cover the project workflow; text:translate is only needed for the beta text routes. usage:read is only needed for the usage export. webhooks:manage is only needed to manage webhooks. media:submit is only needed for the beta media routes.
These need a valid key but no specific scope:
GET /v1/meGET /v1/languagesGET /v1/credits/balance
The create-key dialog may list other scopes (audit:read, audit:export, cortex:read, visibility:read, visibility:write). They are not required for the published /v1 project flow.
Check the key
curl -s https://api.arbitr.ai/v1/me \
-H "X-API-Key: abr_live_…"
200 returns org_id, mode (live or test), and scopes.
Failures
| Status | When |
|---|---|
401 |
Missing, unknown, or revoked key (invalid_api_key) |
403 |
Valid key, missing scope (insufficient_scope) |
Example 403:
{
"error": {
"code": "insufficient_scope",
"message": "This API key is missing the required scope 'verify:submit'.",
"required_scope": "verify:submit",
"request_id": "…"
}
}
Keep request_id if you contact support.