Skip to content

call.ringing

POST

The far end is ringing.

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 far end is ringing.

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.ringing event is about.

object
object
required
object
agent_id
Any of:
string
>= 1 characters /^usr_[0-9A-Za-z]+$/
ai_disclosure_played
boolean
ai_disclosure_played_at
string | null
ai_generated
boolean
ai_segments
Array<object>
object
end_ms
required
Any of:
integer
<= 9007199254740991
source
required
string
Allowed values: assistant ivr
start_ms
required
integer
<= 9007199254740991
key
additional properties
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]+$/
channel

How the call came in or went out: phone, web or whatsapp (new channels may be added).

string
Allowed values: phone web whatsapp
consent_basis
Any of:
string
Allowed values: notice
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]+$/
recording_announced
boolean
recording_announced_at
string | null
started_at
string | null
status
string
to
string | null
whatsapp
Any of:

A WhatsApp call’s ids (channel whatsapp): WhatsApp’s call id (null on a call placed with POST /v1/whatsapp_calls until WhatsApp names it), the WhatsApp number, WhatsApp’s id of the business number, the WhatsApp user id when known, and the biz_opaque_callback_data a placed call was sent with. On a call the WhatsApp user placed: the caller’s WhatsApp profile name (whatsapp_user_name) and the payload of the call button (cta_payload) or call link (deeplink_payload) it came from, when WhatsApp sent them; display data only.

object
biz_opaque_callback_data
string | null
cta_payload
string | null
deeplink_payload
string | null
wacid
string | null
whatsapp_number_id
string
>= 1 characters /^wan_[0-9A-Za-z]+$/
whatsapp_phone_number_id
string
whatsapp_user_id
string | null
whatsapp_user_name
string | null
key
additional properties
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.ringing
Example
{
"api_version": "2026-11-01",
"created": "2026-11-03T09:14:22.000Z",
"data": {
"object": {
"agent_id": "usr_yhfp6RLIuxEKA5Zn4hcCNX",
"ai_disclosure_played": true,
"ai_disclosure_played_at": "2026-11-03T09:14:22Z",
"ai_generated": true,
"ai_segments": [
{
"end_ms": 93120,
"source": "assistant",
"start_ms": 93120
}
],
"answered_at": "2026-11-03T09:14:22Z",
"answered_by": "human",
"assistant_id": "asst_yosOhvUkeWL0SUSxrLfMTg",
"campaign_id": "cmp_FUcgwuMRgvytMFC432pOdi",
"channel": "phone",
"consent_basis": "notice",
"contact_id": "ctc_NKhjnYPvBUr2gmEgqwqw5N",
"direction": "inbound",
"duration_ms": 93120,
"end_reason": "…",
"ended_at": "2026-11-03T09:14:22Z",
"flow_id": "flow_tR9pvZPjzIEif0WVmzbQUt",
"from": "+972501234567",
"id": "call_IGuHGrBtu5JTm5igG2I8EG",
"metadata": {},
"object": "call",
"queue_id": "q_FG2uL2gdWXNMUfXZyRFLfT",
"recording_announced": true,
"recording_announced_at": "2026-11-03T09:14:22Z",
"started_at": "2026-11-03T09:14:22Z",
"status": "…",
"to": "+972541234567",
"whatsapp": {
"biz_opaque_callback_data": "…",
"cta_payload": "…",
"deeplink_payload": "…",
"wacid": "…",
"whatsapp_number_id": "wan_ih9k2g5BlZ66QfYFrjyTyl",
"whatsapp_phone_number_id": "…",
"whatsapp_user_id": "…",
"whatsapp_user_name": "…"
}
}
},
"id": "evt_3fT9kq2ZpLr8YwVbN1cX0a",
"livemode": true,
"object": "event",
"org_id": "org_0000000000000000000001",
"request": {
"id": null,
"idempotency_key": null
},
"type": "call.ringing"
}

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