Diska
Calls

List calls

Lists the organization's calls, most recent first.
GET https://api.diska.ai/v1/calls

Scope: calls:read

It has two pagination modes: offset (the default, with total) and cursor (cursor=start, then the next_cursor you receive), better for exporting large histories.

Parameters

Query string

NameTypeRequiredDescription
searchstring | nullNoText in the ID, external_ref, caller name or caller contact. Not allowed with cursor. Up to 200 characters.
agent_idstring | nullNoOnly calls of this agent.
statusstring | nullNoOnly calls in this state. One of: created, active, completed, failed, cancelled, abandoned.
channelstring | nullNoOnly calls on this channel: browser_demo (web call), phone, whatsapp or web_chat.
limitintegerNoHow many calls per page. Between 1 and 200. Default: 50.
offsetintegerNoOffset mode: how many calls to skip. Minimum 0. Default: 0.
cursorstring | nullNoCursor mode: start on the first page, then the next_cursor you received. Up to 200 characters.

Examples

curl "https://api.diska.ai/v1/calls?limit=10" \
  -H "Authorization: Bearer $DISKA_API_KEY"

Try it

Send the request from this page, with your key. The key stays on this page: it is not stored and is only sent to api.diska.ai. Use a test key with the fewest scopes you need.

GEThttps://api.diska.ai/v1/calls?limit=10
Starts with dsk_. It stays in this browser tab only.
query
query
query
query
query
query
query
Enter an API key (dsk_…).

Response 200

FieldTypeDescription
itemsarrayThe calls on this page.
items[].idstringCall ID (the webhooks' call_id).
items[].external_refstring | nullVoice session ID (the webhooks' session_id).
items[].agent_idstring | nullAgent that answered.
items[].agent_namestring | nullName of the agent that answered.
items[].channelstringbrowser_demo (web call), phone, whatsapp or web_chat. Default: browser_demo.
items[].directionstring | nullinbound, outbound, or null for web calls.
items[].statusstringCall state. One of: created, active, completed, failed, cancelled, abandoned. Default: created.
items[].caller_namestring | nullCaller name, when known.
items[].caller_contactstring | nullCaller contact, when known.
items[].started_atstring | nullCall start.
items[].ended_atstring | nullCall end.
items[].duration_secondsinteger | nullDuration in seconds.
items[].end_reasonstring | nullWhy the call ended.
items[].summarystring | nullCall summary, when generated.
items[].is_simulationbooleantrue for web test calls (browser_demo). Default: true.
items[].labelsarrayCall labels.
items[].has_post_callbooleantrue when there is a post-call result. Default: false.
items[].executed_actions_countintegerNumber of executed actions. Default: 0.
limitintegerRequested page size.
totalinteger | nullTotal calls matching the filters (offset mode); null in cursor mode.
offsetinteger | nullThis page's offset (offset mode); null in cursor mode.
next_cursorstring | nullNext page cursor (cursor mode), or null at the end.
{
  "items": [
    {
      "id": "8d0c6a3e-2f14-4b7a-9c55-1e3f0a6d2b81",
      "external_ref": "sess_7f3a9c1e",
      "agent_id": "3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40",
      "agent_name": "Recepção",
      "channel": "phone",
      "direction": "inbound",
      "status": "completed",
      "caller_name": "Ana Silva",
      "caller_contact": "+244900000000",
      "started_at": "2026-10-25T18:40:00Z",
      "ended_at": "2026-10-25T18:41:35Z",
      "duration_seconds": 95,
      "end_reason": "caller_hangup",
      "summary": "O cliente pediu o horário de abertura e marcou uma visita para sexta-feira.",
      "is_simulation": false,
      "labels": [
        "urgente"
      ],
      "has_post_call": false,
      "executed_actions_count": 2
    }
  ],
  "limit": 50,
  "total": 1,
  "offset": 0,
  "next_cursor": "…"
}

Errors

CodeWhen
400Cursor inválido. (invalid cursor), or search used with cursor.

Errors common to every endpoint (401, 403, 422, 429 and 5xx) are in Errors.

Copyright © 2026