Diska
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

  1. Click Criar nova chave API (Create new API key).
  2. Fill in:
    • Nome (Name, required);
    • Descrição (Description, optional);
    • Âmbitos (Scopes) — with nothing selected, the key has full access;
    • Expira em (Expires on, optional).
  3. Click Gerar (Generate).
  4. 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:

ScopeIn the UI
agents:readAgentes — leitura (agents, read)
agents:writeAgentes — criar/publicar (agents, create/publish)
calls:readChamadas e transcrições (calls and transcripts)
analytics:readAnálises (analytics)
phone-numbers:readNúmeros (numbers)
knowledge:readConhecimento — leitura (knowledge, read)
knowledge:writeConhecimento — escrita (knowledge, write)
webhooks:manageWebhooks — gestão (webhooks, manage)

The keys list

ColumnWhat 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.
Copyright © 2026