Lewati ke konten

list_calls

GET
/v1/calls
curl --request GET \
--url https://example.com/v1/calls \
--header 'Authorization: Bearer <token>'
from
string | null format: date-time
to
string | null format: date-time
direction
string | null

Filter by call direction (inbound or outbound).

outcome
string | null

Filter by call outcome (answered, missed, declined, failed, or in_progress).

business_phone_id
string | null format: uuid
customer_phone
string | null
after
string | null

Pagination cursor in "rfc3339|uuid" format.

limit
integer | null format: int64

Page size (clamped to 1..=100, default 20).

Paginated list of calls

Media type application/json
object
data
required
Array<object>
object
agent
One of:
null
answered_at
string | null format: date-time
business_phone
required
string
business_phone_id
required
string format: uuid
contact_id
string | null format: uuid
contact_name
string | null
conversation_id
string | null format: uuid
created_at
required
string format: date-time
customer_phone
required
string
direction
required
string
disposition
string | null
duration_seconds
required
integer format: int32
end_reason
string | null
ended_at
string | null format: date-time
entry
One of:
null
id
required
string format: uuid
outcome
required
string
queue_id
string | null format: uuid
recording_available
required
boolean
started_at
string | null format: date-time
status
required
string
wa_call_id
required
string
paging
required
object
next
string | null
Example generated
{
"data": [
{
"agent": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example"
},
"answered_at": "2026-04-15T12:00:00Z",
"business_phone": "example",
"business_phone_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"contact_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"contact_name": "example",
"conversation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"created_at": "2026-04-15T12:00:00Z",
"customer_phone": "example",
"direction": "example",
"disposition": "example",
"duration_seconds": 1,
"end_reason": "example",
"ended_at": "2026-04-15T12:00:00Z",
"entry": {
"kind": "example",
"payload": "example"
},
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"outcome": "example",
"queue_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"recording_available": true,
"started_at": "2026-04-15T12:00:00Z",
"status": "example",
"wa_call_id": "example"
}
],
"paging": {
"next": "example"
}
}

Invalid filter or cursor

Unauthorized