API referencePhone

List AI phone calls

Returns AI phone calls — outbound calls you placed and inbound calls your numbers answered (see direction) — most recent first, as a { object: "list", data } array.

Endpoint
GET https://api.dairo.app/v1/phone/calls

Returns AI phone calls — outbound calls you placed and inbound calls your numbers answered (see direction) — most recent first, as a { object: "list", data } array. Filter with status (an exact lifecycle value such as in_progress or completed) and to (a destination number in E.164); limit accepts 1–100 and defaults to 50. This endpoint is not cursor-paginated — it returns the most recent matching calls up to limit. Requires the phone:read scope.

Scope: phone:read. Send the API key as a bearer token; Scopes lists what each one reaches.

Request

cURL
curl "https://api.dairo.app/v1/phone/calls" \
  -H "Authorization: Bearer $DAIRO_API_KEY"

Query parameters

NameTypeRequiredDescription
statusstringnoFilter by call status.
tostringnoFilter by destination number (E.164).
limitintegernoMaximum results (1-100). Defaults to 50. (minimum 1, maximum 100)

Response

200 Success. Body: application/json, PhoneCallListResponse.

FieldTypeRequiredDescription
object"list"yes
dataarray of PhoneCallyes
200
{
  "object": "list",
  "data": [
    {
      "object": "phone_call",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "direction": "outbound",
      "status": "queued",
      "fromNumber": "string",
      "toNumber": "string",
      "instructions": null,
      "greeting": null,
      "voice": null,
      "model": null,
      "language": null,
      "maxDurationSeconds": null,
      "voicemailMessage": null,
      "queuedAt": "2026-10-19T09:30:00Z",
      "startedAt": "2026-10-19T09:30:00Z",
      "answeredAt": "2026-10-19T09:30:00Z",
      "endedAt": "2026-10-19T09:30:00Z",
      "durationSeconds": null,
      "hangupCause": null,
      "answeredBy": null,
      "summary": null,
      "notes": [
        {
          "kind": "task",
          "text": "Thanks for signing up.",
          "due": "string"
        }
      ],
      "costUsd": null,
      "error": null,
      "metadata": {},
      "idempotencyKey": null,
      "createdAt": "2026-10-19T09:30:00Z"
    }
  ]
}

Errors

Every error has the same body, {"error": {"type", "code", "message", "param"}}; branch on code. Errors lists every code.

StatusMeaning
400The request is malformed or a value is invalid (invalid_request, invalid_domain, idempotency_key_mismatch).
401The API key is missing or invalid.
403The key lacks the scope this endpoint needs (scope_missing) or may not do this (not_permitted).
404No such resource in this account (resource_not_found).
429Rate limit, plan limit, budget or spend cap reached (rate_limited, plan_limit_reached, budget_exceeded, spend_cap_reached).
500An unexpected error; retry with backoff, then contact support (internal_error).

On this page