Calls

Get all calls for the clinic

Retrieves the AI-coordinator calls for the clinic determined by the provided API key.

Each call includes call-level metadata (times, caller, review status, AI summary) and its full interactions transcript. Results are ordered most recent first and paginated with pageSize and pageToken.

To page through results, pass the nextPageToken returned by the previous response as the pageToken of the next request. When hasMore is false, there are no further pages.

get/calls/all

Query parameters

pageSizeinteger

Number of results per page (max 100). Defaults to 50.

pageTokenstring

Token for fetching the next page (the id of the last call from the previous page).

Response

Calls retrieved successfully

nextPageTokenstring

Token for fetching the next page. Null when there are no more results.

hasMoreboolean

Whether there are more results available.

totalCountinteger

Number of calls in the current page.

Example response

{
  "calls": [
    {
      "id": "conv_123abc",
      "startedAt": "2026-01-15T14:30:00.000Z",
      "endedAt": "2026-01-15T14:42:00.000Z",
      "callerPhoneNumber": "+12025551234",
      "hasCalledBefore": true,
      "totalNumberOfPreviousCalls": 3,
      "summary": "Patient called to reschedule their appointment.",
      "interactions": [
        {
          "speaker": "patient",
          "text": "I would like to move my appointment to next week."
        }
      ]
    }
  ],
  "nextPageToken": "conv_456def",
  "hasMore": true,
  "totalCount": 25
}

Changes

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