Skip to main content
GET
/
cases
/
{case_id}
/
phone-calls
List phone calls
curl --request GET \
  --url https://api.example.com/v1/cases/{case_id}/phone-calls \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "01K8PC05EJ4T11HRYE78AN7EEE",
      "institution_contact_id": "<string>",
      "to_number": "+11112223333",
      "from_number": "+11112223333",
      "status": "completed",
      "direction": "outbound",
      "duration_seconds": 342,
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "recording_url": "<string>",
      "recording_duration_seconds": 123,
      "recording_status": "completed",
      "transcript": "<string>",
      "summary": "Called Chase estate services. Spoke with John Johnson. He confirmed they received the death certificate. Letters Testamentary are still needed before they can release account info. Ref# EST-2025-00456.",
      "action_items": [
        {
          "description": "Mail Letters Testamentary to Chase Estate Services",
          "completed": false
        }
      ],
      "called_by": "<string>",
      "twilio_call_sid": "CAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "notes": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_count": 142,
    "total_pages": 6,
    "next_cursor": "eyJpZCI6IjAxSzVXRjA2TUo2VDk5SFJZRTQ4QU43WE04In0=",
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

case_id
string
required

Unique case identifier (ULID format).

Query Parameters

page
integer
default:1

Page number for pagination.

Required range: x >= 1
per_page
integer
default:25

Number of items per page.

Required range: 1 <= x <= 100
status
enum<string>
Available options:
initiated,
ringing,
in_progress,
completed,
failed,
no_answer,
busy,
cancelled
institution_contact_id
string

Filter calls to a specific institution contact.

sort_by
enum<string>
default:created_at
Available options:
created_at,
duration_seconds
sort_order
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc

Response

List of phone calls.

data
object[]
meta
object