POST /v1/calls, GET /v1/calls, and GET /v1/calls/{id}. It’s also the body of webhook deliveries.
Fields
Core
| Field | Type | Description |
|---|---|---|
id | uuid | Call ID |
to_number | string | Destination phone number (E.164) |
from_number | string | Caller ID (E.164) |
status | string | Current status (see Statuses) |
direction | string | Always outbound for now |
prompt | string | The prompt you sent |
context | object | The context you sent |
returns | object | The return schema you defined |
language | string | Language code |
Result
| Field | Type | Description |
|---|---|---|
result | object | null | Extracted data matching your returns schema |
result_status | string | pending, completed, or failed |
result_error | string | null | Why extraction failed, if it did |
Timing
| Field | Type | Description |
|---|---|---|
created_at | ISO 8601 | When the call was created |
started_at | ISO 8601 | null | When it started ringing |
answered_at | ISO 8601 | null | When someone picked up |
ended_at | ISO 8601 | null | When it ended |
duration_seconds | integer | null | Total duration in seconds |
Billing
| Field | Type | Description |
|---|---|---|
billed_duration_seconds | integer | null | Connected time you’re charged for |
billing_amount_milli_cents | integer | null | Charge in milli-cents |
reservation_status | string | reserved, settled, or released |
Webhook (per-call inline)
The fields below are a compatibility layer for the per-call inline webhook. They summarize delivery of thecall.completed event to
webhook_url. For full delivery history, the other seven event types, and
fan-out to multiple endpoints, see Webhooks and
webhook delivery object.
| Field | Type | Description |
|---|---|---|
webhook_url | string | null | Per-call inline URL. Receives every lifecycle event for this call, signed with the org’s default secret. |
webhook_status | string | none, pending, delivered, or failed. Reflects the latest inline delivery for this call. |
webhook_error | string | null | Error from the last failed inline delivery. |
Error
| Field | Type | Description |
|---|---|---|
error_code | string | null | Telephony provider error code |
error_message | string | null | What went wrong |
hangup_cause | string | null | Telephony-level hangup reason |
Metadata
| Field | Type | Description |
|---|---|---|
metadata | object | Arbitrary metadata on the call |
updated_at | ISO 8601 | Last update time |