Get calls
GET/call
Retrieve a paginated list of call attempts. Each entry includes the call status, phone number, assistant used, transcript, and timestamps. Use the page and page_size query parameters to navigate through results.
Query Parameters
page: number
The page number you want to get. Starting at 0.
minimum1
maximum9007199254740991
page_size: number
The number of calls to return per page.
minimum1
maximum9007199254740991
Returns
Get calls
curl https://www.getrevox.com/api/call \
-H "Authorization: Bearer $REVOX_API_KEY"{
"calls": [
{
"id": "id",
"answered_at": {},
"dial_error": "number_non_attributed",
"ended_at": {},
"phone_number": "phone_number",
"recording_url": "recording_url",
"result": "IVR",
"started_at": {},
"status": "queued",
"end_reason": "end_reason",
"ended_by": "agent",
"structured_output": {
"foo": "bar"
},
"transcript": [
{
"content": "content",
"role": "user",
"tool_arguments": {
"foo": "bar"
},
"tool_is_error": true,
"tool_name": "tool_name"
}
]
}
]
}Returns Examples
{
"calls": [
{
"id": "id",
"answered_at": {},
"dial_error": "number_non_attributed",
"ended_at": {},
"phone_number": "phone_number",
"recording_url": "recording_url",
"result": "IVR",
"started_at": {},
"status": "queued",
"end_reason": "end_reason",
"ended_by": "agent",
"structured_output": {
"foo": "bar"
},
"transcript": [
{
"content": "content",
"role": "user",
"tool_arguments": {
"foo": "bar"
},
"tool_is_error": true,
"tool_name": "tool_name"
}
]
}
]
}