GET
/
calls
curl --request GET \
  --url https://api.puretalk.ai/api/calls \
  --header 'X-API-KEY: <api-key>'
{
  "count": 123,
  "next": "<string>",
  "previous": "<string>",
  "results": [
    {
      "call_analysis": {
        "summary": "<string>",
        "call_completion_summary": "<string>",
        "call_completion": "<string>",
        "task_completion_summary": "<string>",
        "task_completion": "<string>"
      },
      "protocol": "<string>",
      "call_id": "<string>",
      "from_number": "<string>",
      "to_number": "<string>",
      "assistant_id": "<string>",
      "assistant_name": "<string>",
      "voice_id": "<string>",
      "voice_name": "<string>",
      "start_time": "2023-11-07T05:31:56Z",
      "end_time": "2023-11-07T05:31:56Z",
      "call_duration_seconds": 123,
      "call_type": "<string>",
      "transcript": "<string>",
      "transcript_object": [
        {
          "role": "<string>",
          "content": "<string>"
        }
      ],
      "status": "<string>",
      "provider_call_id": "<string>",
      "metadata": {},
      "variables": [
        "<string>"
      ],
      "call_recording_enabled": true,
      "call_recording_url": "<string>",
      "campaign_id": "<string>"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

page
integer

The page number to return

limit
integer

The maximum number of results to return

call_type
enum<string>

The type of call (e.g., incoming, outgoing)

Available options:
incoming,
outgoing
status
enum<string>

The status of the call (e.g., completed, in-progress)

Available options:
completed,
in-progress,
failed
voice_id
string

The ID of the voice used

assistant_id
string

The ID of the assistant

from_number
string

The originating phone number

to_number
string

The destination phone number

Response

200
application/json
Calls response
count
integer
next
string | null
previous
string | null
results
object[]