API keys
Overview
Section titled “Overview”API keys let your own systems and integrations call the amabledata REST API
on behalf of a workspace, with a Bearer header.
- Where: sidebar group Settings › API keys, URL path
/t/<workspace>/settings/api-keys. - Who: members with
api_keys:manage(owners and admins).
The page has an API reference button and a New API key button in the toolbar, a short explanation, and the Keys table.
How it works
Section titled “How it works”- Format. A key looks like
amb_live_followed by 43 random characters. Only a hash of the key and its first characters (the prefix, e.g.amb_live_a1b2c3…) are stored. - Shown once. The full key is shown only right after creation. If you lose it, revoke it and create a new one.
- Scopes. A key has a list of scopes chosen among the workspace permissions. You can only grant permissions your own role has.
- Bound to its creator. At every request, the key works with the scopes it was given and only as far as the current role of the member who created it allows. If that member is demoted, the key loses the permissions the new role lacks; if the member is removed from the workspace or their account is disabled, the key stops working.
- No expiry. Keys do not expire; they work until revoked.
- Last used. The Last used column is updated when the key is used (at most once a minute).
- Revocation is immediate and permanent. Revoked keys stay in the list with a Revoked pill.
- Audit. Creating and revoking write
tenant.api_key_created(with the number of scopes) andtenant.api_key_revokedto the audit log. Calls made with a key are logged with the actor typeapi_key.
Step by step
Section titled “Step by step”Create an API key
Section titled “Create an API key”-
Click New API key.
-
Type a Name (required, up to 80 characters), for example “Website sync”.
-
Choose the Scopes preset:
- Read only: every read permission your role has (permissions ending in
:reador_read); - Everything my role allows: all your permissions;
- Custom: tick individual permissions, grouped by area (
contacts,orders, …).
The list of selected scopes is shown under the presets (“You can only grant permissions you have yourself.”).
- Read only: every read permission your role has (permissions ending in
-
Click Create key and confirm with your second factor.
-
Copy the key from the Key “…” created box (“Copy it now: it will not be shown again.”) with Copy. A ready-made
curlexample is shown below it. -
Click Done to hide the key.
Test the key with the example shown on the page:
curl -H "Authorization: Bearer amb_live_..." \ https://app.example.com/api/v2/t/<workspace>/contacts?limit=5Revoke an API key
Section titled “Revoke an API key”- In the Keys table, click Revoke on the key.
- Confirm “Revoke “…”? Integrations using it stop working immediately.”
- Confirm with your second factor. A toast says “API key revoked” and the row shows Revoked.
Rotate a key
Section titled “Rotate a key”There is no rotate button: create a new key with the same scopes, update your integration, then revoke the old key.
Reference
Section titled “Reference”New API key dialog
Section titled “New API key dialog”| Field | Required | Limits | Default |
|---|---|---|---|
| Name | Yes | 1–80 characters | — |
| Scopes | Yes | At least 1; only permissions of your role | Read only |
Keys table
Section titled “Keys table”| Column | Content |
|---|---|
| Name | The name you gave. |
| Key | Visible prefix followed by …. |
| Scopes | “N permissions”; hover to see the list. |
| Created | Date and time. |
| Last used | Date and time, or Never. |
| (actions) | Revoke, or the Revoked pill. |
Limits and permissions
Section titled “Limits and permissions”| Action | Permission | Second factor |
|---|---|---|
| See and manage the page | api_keys:manage (Owner, Admin) |
— |
| Create a key | api_keys:manage |
Yes |
| Revoke a key | api_keys:manage |
Yes |
- Keys can only be created and revoked from a signed-in browser session, never with another key.
- Each key is rate limited to 600 requests per minute. Above it, requests answer
429 rate_limitedwith aRetry-Afterheader (seconds); the key itself keeps working. - Keys cannot manage members or other API keys: those actions need a session with a second factor.
- The same keys connect AI assistants through the MCP server: the assistant sees only the tools the key’s scopes allow. Create one key per assistant, with the fewest scopes it needs.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| Create key is disabled | Name is empty or no scope is selected. | Fill both. |
scope_exceeds_role |
A requested scope is not granted by your role (API only; the dialog never offers them). | Remove the scope or ask an owner. |
| “Confirmation with the second factor is required” / nothing happens | You closed the Confirm it is you dialog. | Retry and enter the code. |
401 invalid_api_key from the API |
The key was revoked, is mistyped, or its creator left the workspace or was disabled. | Create a new key. |
403 on an endpoint |
The key lacks the scope, or its creator’s role no longer grants it. | Create a key with the right scope, or restore the creator’s role. |
429 rate_limited |
More than 600 requests in a minute with this key. | Wait the number of seconds given in the Retry-After header, then retry more slowly. |
| Lost the key | The full key is shown only once. | Revoke it and create a new one. |

