Voice / Calls

List call legs

List the individual legs that make up a call, in creation order.

get/api/v1/voice/calls/{call_id}/legs

Request

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

Path parameters

call_idstring required

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": [
    {
      "answered_at": "2026-06-01T09:15:12Z",
      "call_session_id": "cs_01JQ8Z9K7M3N2P4R5S6T7V8W9X",
      "created_at": "2026-06-01T09:15:04Z",
      "direction": "outbound",
      "from_number": "+14155552671",
      "id": "cl_01JQ8Z9K7M3N2P4R5S6T7V8WAB",
      "recordings": [
        "rec_01JQ8Z9K7M3N2P4R5S6T7V8WEF"
      ],
      "role": "primary",
      "state": "answered",
      "to_number": "+14155559876"
    }
  ]
}

Changes

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