List Calls

Calls

List Calls

Every call your workspace made or took — inbound, website, WhatsApp, a campaign's or one you placed — newest first, without transcripts or recordings. Each item's id opens the call with Get Call. A call booked for later appears here only once it has rung; read a booked call by the sch_… id Place Call gave you.

GET/calls

Query parameters

limitinteger
How many items to return, 1 to 100. Default: 25. Range: 1–100.
cursorstring
The nextCursor from the previous page. Leave it out for the first page.
agentstring
Only this agent's calls — its ag_… id.
statusstring
Only calls in this state. One of: ringing, connected, completed, missed, failed.
referencestring
Only calls placed with this reference — your CRM's own id for the lead. Matched exactly; up to 200 characters are read.
sincestring
Only calls that started at or after this date (2026-09-17, from midnight UTC) or instant (2026-09-17T10:00:00Z).
untilstring
Only calls that started at or before this date or instant. A bare date (2026-10-06) includes that whole day, UTC; give an offset (2026-10-06T23:59:59+05:30) for a different day boundary.

Headers

Katexs-Workspacestring
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.

Example request

bash
curl "https://app.katexs.com/api/v1/calls" \
  -H "Authorization: Bearer $KATEXS_API_KEY"

Responses

StatusDescription
200A page of calls.
400A filter is not valid.
401The key is missing, wrong or revoked. The answer is always the same, whichever it is.
403The key's access level (read-only or build) does not allow this request, the plan does not include it, or a customer's key named another workspace in Katexs-Workspace. code says which: key_scope_read, key_scope_build, workspace_header_forbidden, or forbidden.
404The Katexs-Workspace header names a workspace that is unknown, is not one of your customers, or is not an org_… id. Always this one sentence, so a key cannot learn which ids exist in other accounts.
410The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date.
429Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit.

Response fields

itemsobject[]required
nextCursorstring | nullrequired
Pass as cursor for the next page. Null on the last page.
200 response
{
  "items": [
    {
      "id": "out_9f2c1a44-6b0e-4c1d-8a7f-2e5b3c9d1f60",
      "callRef": "out_9f2c1a44-6b0e-4c1d-8a7f-2e5b3c9d1f60",
      "reference": "LSQ-42",
      "metadata": {
        "deal_id": "D-19",
        "owner": "Ravi"
      },
      "attempt": 1,
      "status": "completed",
      "direction": "outbound",
      "phone": "919876543210",
      "from": "918045678901",
      "to": null,
      "agent": {
        "id": "ag_5c4a5f93-2b1e-4d7a-9f60-8e2d1c3b4a71",
        "name": "Skyline Sales"
      },
      "scheduledFor": null,
      "startedAt": "2026-10-06T04:30:02.118Z",
      "answeredAt": "2026-10-06T04:30:09.540Z",
      "endedAt": "2026-10-06T04:33:11.902Z",
      "seconds": 182,
      "hangup": "answered",
      "variables": {
        "lead_name": "Asha",
        "project": "Sky Towers"
      },
      "summary": "Asha is keen on a 2 BHK at Sky Towers with a budget around 80 lakh. She asked to visit the site on Saturday.",
      "fields": {
        "budget": 8000000,
        "interest": "Hot",
        "site_visit": true
      },
      "analysedAt": "2026-10-06T04:33:20.311Z",
      "forwardedTo": null,
      "error": null
    }
  ],
  "nextCursor": "MjAyNi0xMC0wNlQwNDozMDowMi4xMThafDNiN2UxYzkw"
}

Last updated November 2026 · Found a problem? Email support@katexs.com