Returns all calls for the authenticated organization, ordered by creation time descending.
curl --request GET \
--url https://api.callingbox.io/v1/calls \
--header 'Authorization: Bearer <token>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_number": "<string>",
"from_number": "<string>",
"status": "queued",
"direction": "outbound",
"prompt": "<string>",
"context": {},
"returns": {},
"result": {},
"result_status": "completed",
"result_error": "<string>",
"language": "<string>",
"webhook_url": "<string>",
"webhook_status": "delivered",
"webhook_error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"answered_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"duration_seconds": 123,
"billed_duration_seconds": 123,
"billing_amount_milli_cents": 123,
"reservation_status": "settled",
"error_code": "<string>",
"error_message": "<string>",
"hangup_cause": "<string>",
"metadata": {},
"updated_at": "2023-11-07T05:31:56Z"
}
]API key starting with sk_
Array of calls
Unique call identifier
Destination phone number
Caller ID phone number
queued, initiated, ringing, in_progress, completed, no_answer, busy, canceled, failed Call direction
"outbound"
The prompt used for the call
Context provided for the call
Return schema defined for the call
Structured data extracted from the call, matching the returns schema
Extraction status: pending, completed, or failed
"completed"
Error message if extraction failed
Language code
Webhook endpoint URL
Webhook delivery status: pending, delivered, or failed
"delivered"
Error message if webhook delivery failed
When the call was created
When the call started ringing
When the callee answered
When the call ended
Total call duration in seconds
Billable connected time in seconds
Amount billed in milli-cents
Credit reservation status: reserved, settled, or released
"settled"
Error code from the telephony provider
Human-readable error description
Telephony-level hangup reason
Arbitrary metadata associated with the call
Last update timestamp
curl --request GET \
--url https://api.callingbox.io/v1/calls \
--header 'Authorization: Bearer <token>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_number": "<string>",
"from_number": "<string>",
"status": "queued",
"direction": "outbound",
"prompt": "<string>",
"context": {},
"returns": {},
"result": {},
"result_status": "completed",
"result_error": "<string>",
"language": "<string>",
"webhook_url": "<string>",
"webhook_status": "delivered",
"webhook_error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"answered_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"duration_seconds": 123,
"billed_duration_seconds": 123,
"billing_amount_milli_cents": 123,
"reservation_status": "settled",
"error_code": "<string>",
"error_message": "<string>",
"hangup_cause": "<string>",
"metadata": {},
"updated_at": "2023-11-07T05:31:56Z"
}
]