Voice / Calls

List calls

List your account's calls, newest first. Filter by state, numbers, or creation time, and page through results with cursors (see the Pagination section in the overview).

get/api/v1/voice/calls

Request

  • Base URL: https://api.frejun.ai
  • URL: https://api.frejun.ai/api/v1/voice/calls
  • Auth: API key in header x-api-key

Query parameters

state'initiated' | 'ringing' | 'answered' | 'completed' | 'failed'
from_numberstring nullable
to_numberstring nullable
created_afterstring date-time nullable
created_beforestring date-time nullable
limitinteger
cursor_afterstring nullable

Opaque cursor — page toward older rows (next page).

cursor_beforestring nullable

Opaque cursor — page toward newer rows (previous page).

Response

Successful Response

next_cursorstring nullable

Pass as cursor_after to fetch the next (older) page. null on the last page.

previous_cursorstring nullable

Pass as cursor_before to fetch the previous (newer) page. null on the first page.

has_moreboolean

Whether more results exist after this page.

Example response

{
  "data": [
    {
      "account_id": "acc_01JQ8Z9K7M3N2P4R5S6T7V8WIJ",
      "answered_at": "2026-06-01T09:15:12Z",
      "created_at": "2026-06-01T09:15:04Z",
      "direction": "outbound",
      "from_number": "+14155552671",
      "id": "cs_01JQ8Z9K7M3N2P4R5S6T7V8W9X",
      "legs": [],
      "properties": {},
      "state": "answered",
      "to_number": "+14155559876",
      "voice_app_id": "va_01JQ8Z9K7M3N2P4R5S6T7V8WKL"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.