Skip to content

call.started

POST

The call’s media started: the AI or an agent is on the line.

webhook-id
required
string

The event ID (evt_…); the same on every retry. Deduplicate on it.

Example
evt_3fT9kq2ZpLr8YwVbN1cX0a
webhook-timestamp
required
string

Unix seconds of this delivery attempt. Reject deliveries more than 5 minutes old.

Example
1762161262
webhook-signature
required
string

Space-separated v1,<base64 HMAC-SHA256> signatures of <webhook-id>.<webhook-timestamp>.<body> with the endpoint secret (two while a secret rotates).

Example
v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=
Media typeapplication/json

The call’s media started: the AI or an agent is on the line.

object
api_version
required

The API version the payload is rendered in (the endpoint’s pinned version).

string
created
required

An ISO-8601 timestamp in UTC.

string format: date-time
data
required

object is the object the call.started event is about.

object
object
required
object
agent_id
Any of:
string
>= 1 characters /^usr_[0-9A-Za-z]+$/
answered_at
string | null
answered_by
Any of:
string
Allowed values: human machine unknown
assistant_id
Any of:
string
>= 1 characters /^asst_[0-9A-Za-z]+$/
campaign_id
Any of:
string
>= 1 characters /^cmp_[0-9A-Za-z]+$/
contact_id
Any of:
string
>= 1 characters /^ctc_[0-9A-Za-z]+$/
direction
Any of:
string
Allowed values: inbound outbound browser
duration_ms
Any of:
integer
<= 9007199254740991
end_reason
string | null
ended_at
string | null
flow_id
Any of:
string
>= 1 characters /^flow_[0-9A-Za-z]+$/
from
string | null
id
string
>= 1 characters /^call_[0-9A-Za-z]+$/
metadata
object
key
additional properties
object
string
Allowed value: call
queue_id
Any of:
string
>= 1 characters /^q_[0-9A-Za-z]+$/
started_at
string | null
status
string
to
string | null
key
additional properties
previous_attributes

For *.updated-style events: the changed attributes’ previous values.

object
key
additional properties
id
required

The event ID. Receivers deduplicate on it (it is also the webhook-id header).

string
/^evt_[0-9A-Za-z]+$/
livemode
required

true in live mode, false in test mode.

boolean
object
required
string
Allowed value: event
org_id
required

The organisation the event belongs to.

string
/^org_[0-9A-Za-z]+$/
request
object
id
required
Any of:

The API request that caused the event (its X-Request-Id), if any.

string
/^req_[0-9A-Za-z]+$/
idempotency_key
required

That request’s Idempotency-Key, if any.

string | null
type
required
string
Allowed value: call.started

Acknowledge the event with any 2xx status within 15 seconds. Anything else, or a timeout, is retried for up to 72 hours.