Settings
API keys
Create, review and revoke the organization's DISKA API keys.
API keys authenticate the DISKA API: programmatic access to the organization's data (agents, calls, analytics, numbers, knowledge and webhooks) at https://api.diska.ai/v1. Only the Owner and Admins can see the Definições → Chaves API (Settings → API keys) page.
Create a key
- Click Criar nova chave API (Create new API key).
- Fill in:
- Nome (Name, required);
- Descrição (Description, optional);
- Âmbitos (Scopes) — with nothing selected, the key has full access;
- Expira em (Expires on, optional).
- Click Gerar (Generate).
- In the A sua chave API (Your API key) window, copy the key and store it somewhere safe. Não voltará a ser mostrado. (it will not be shown again).
Available scopes:
| Scope | In the UI |
|---|---|
agents:read | Agentes — leitura (agents, read) |
agents:write | Agentes — criar/publicar (agents, create/publish) |
calls:read | Chamadas e transcrições (calls and transcripts) |
analytics:read | Análises (analytics) |
phone-numbers:read | Números (numbers) |
knowledge:read | Conhecimento — leitura (knowledge, read) |
knowledge:write | Conhecimento — escrita (knowledge, write) |
webhooks:manage | Webhooks — gestão (webhooks, manage) |
The keys list
| Column | What it shows |
|---|---|
| Nome (Name) | Name and description. |
| Chave (Key) | A preview (it starts with dsk_). The copy button copies only the preview: the full value is only shown at creation. |
| Âmbitos (Scopes) | Acesso total (full access) or the chosen scopes. |
| Data de criação (Created) | |
| Expira (Expires) | — when it does not expire. |
| Último uso (Last used) | Helps you find forgotten keys. |
Use the key
curl https://api.diska.ai/v1/me \
-H "Authorization: Bearer dsk_…"
Endpoints are listed in Endpoints and authentication is covered in Authentication.
Revoke a key
Click the trash icon and confirm in Revogar chave API (Revoke API key) → Revogar chave. The key is disabled immediately and can no longer access the API.
Good practices
- Keep keys in environment variables or a secrets vault, never in code or the frontend.
- Give each integration its own key, with only the scopes it needs.
- If a key is compromised, generate a new one and revoke the old one.

