> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superskope.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Keys and permissions

> Customer bearer keys stay on your backend and bind to one phone.

Send `Authorization: Bearer <your-customer-api-key>` from your backend. Browser Origin/Sec-Fetch-Site requests are rejected; there is no CORS key workflow. Never put a customer key into frontend JavaScript, a public document or a model prompt. The private root hub key is not a customer credential.

Owners issue named keys in **Developer**. Keys are shown once, hashed at rest, expire after 90 days by default (1–365 days configurable), and are limited to ten active keys. Removing or demoting the issuer revokes their keys.

## Authority

A key binds to one confirmed number and up to 100 exact selected conversations. Most operations require both their scope and the selected chat. `groups:create` independently permits phone-wide creation. `groups:created` is a separate opt-in granting conversation access only to the same key’s completed, verified creations; operation scopes still apply.

| Scope family | Authority |
| - | - |
| `status:read`, `chats:read`, `messages:read` | Connection, selected conversation metadata/history/media. |
| `messages:write` | Explicit selected-chat sends. |
| `chats:access:read`, `chats:write`, `history:read` | Verified membership/aliases, deliberate read/archive actions and retained transport/group history, independently granted. |
| `messages:bot`, `agents:manage`, `agents:enroll`, `agents:use`, `agents:read`, `agents:events:read`, `presence:write` | Create/enroll an API-owned pull agent or use an explicitly delegated existing identity; read [agent authority](https://docs.superskope.com/developers/agents.md). None of these grants are automatic. |
| `messages:edit`, `messages:delete`, `messages:forward`, `messages:pin` | Independently controlled exact-message actions; forwarding also requires target sending access. See [message actions](https://docs.superskope.com/developers/message-actions.md). |
| `messages:react` | Add or remove your own reaction on an exact selected-chat message. |
| `connection:read`, `connection:pair`, `connection:disconnect` | Inspect, pair/confirm or explicitly disconnect the selected phone. |
| `events:read` | Selected-chat metadata events and allowed connection events. |
| `messages:read`, `automation:write` | Inspect or pause/resume an already permitted agent. |
| Granular `groups:*` | See [groups](https://docs.superskope.com/developers/groups.md); legacy `groups:write` grants no granular mutations. |
| `schedules:read/write`, `work:read/write`, `reports:read` | Scoped schedules/work/reports. |
| `library:read` | Explicit phone-wide shared-label and saved-reply definitions. |
| `logs:read` | Only this key’s currently authorised request metadata. |

A key issued before number confirmation is limited to connection scopes and optional `logs:read`. Confirmation binds it to the phone without adding message or group scopes. Read defaults do not grant sending, group changes or lifecycle authority. See individual API reference operations for exact scopes.

## Rotation

Create a replacement, update your integration and revoke the previous key. First resolve all uncertain operations using the original key. Rotation creates a new idempotency namespace: never replay unresolved work through the replacement. There is no secret-reveal endpoint.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.