Platform
Webhook events
Every event a webhook endpoint can subscribe to: when it is sent, the scope it needs and the fields of its payload, with an example delivery.
Each delivery is a signed POST of one event. Subscribe an endpoint to the types you handle and verify the signature before you parse the body. Your key needs each event's read scope to subscribe to it.
- Deduplicate on
id: a retry or a resend carries the same one. - Order is not guaranteed, and a later status can arrive without an earlier one (
readwithoutdelivered). Treat each as “now at least this far”, and read the resource when the order matters. - Within v1, new event types and new fields are added. Ignore the ones you do not know.
The envelope
Every event has the same envelope. Only type and data change from one event to the next.
apiVersionstringRequiredThe API version the payload shape belongs to.
One of
v1createdAtstring (date-time)RequiredWhen the change happened.
dataobjectRequiredWhat the event is about: each event below lists its fields.
externalReferencestring | nullPresent when an integration provisioned the organization: that integration’s own reference for it (
externalReferenceofPOST /v1/organizations), so an integration endpoint — which receives every one of its organizations’ events — can route an event without a lookup.idstringRequiredThe event id: the same on every retry and resend of it — the dedupe key.
livemodebooleanRequiredWhether this is live traffic (
true) or test traffic (false, delivered totestendpoints only) — the mode of the event’s subject, the same as anydata.*.livemodeit carries. Events about what has no test side (the balance, a port-in, DLT registrations, …) are alwaystrue; awebhook.testdelivery carries its endpoint’s mode.objectstringRequiredOne of
eventorganizationIdstring (uuid)RequiredThe organization the event is about. A
webhook.testsent to an integration endpoint names none: the nil UUID.typestringRequiredThe event's type, such as
message.delivered: one of the events below.
Messages
message.sent
The provider accepted a message you sent.
WhatsApp (Meta), Amazon SES or the SMTP relay, or the SMS vendor accepted an outbound message. message.status is sent.
messages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.delivered
A message reached the contact.
The provider reported the message delivered to the contact’s phone or mailbox (for SMS: the vendor’s delivery receipt).
Needsmessages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.read
The contact read a message.
Meta reported the WhatsApp message read.
Needsmessages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.failed
A message failed for good.
message.failure carries { code, reason }. A scheduled message cancelled before it was sent fails with MESSAGE_CANCELED.
messages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.received
A contact sent a message or tapped a reply button.
An inbound message, with button for a tapped reply and context.messageId for a reply to one of yours. contact is the sender (needs contacts:read too).
messages:readcontacts:readdata
contactPublicContactRequiredIts fields are listed under Get contact
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.complained
A recipient reported an email you sent as spam.
The message’s status does not change (it was delivered); the address is suppressed and the contact’s email consent opted out, which its own contact.consent.updated reports.
messages:readdata
complaintobjectRequiredThe complaint as the receiving provider reported it.
1 field of
complaintfeedbackTypestring | nullRequiredThe receiving provider’s feedback type (
abuse,fraud, …), when it gave one.
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.media.ready
A file a contact sent is stored.
message.media.status is ready: fetch a download link with GET /v1/messages/{messageId}/media. No link rides on the event.
messages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
message.media.failed
A file a contact sent could not be stored.
message.media.status is failed or rejected, with message.media.failureCode.
messages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
Email tracking
email.opened
A person first opened a tracked email.
Once per message; machine opens (privacy proxies, security scanners) are never reported.
Needsmessages:readdata
messagePublicMessageRequiredIts fields are listed under Get message
openobjectRequiredThe open.
1 field of
openatstring (date-time)RequiredWhen it was opened.
Show an example deliveryHide the example
Loading the example…
email.clicked
A person first clicked a tracked link of an email.
Once per link.
Needsmessages:readdata
clickobjectRequiredThe click.
3 fields of
clickatstring (date-time)RequiredWhen it was clicked.
linkintegerRequiredThe link’s 0-based position in the email.
urlstringRequiredWhere the link went.
messagePublicMessageRequiredIts fields are listed under Get message
Show an example deliveryHide the example
Loading the example…
Conversations
conversation.opened
A conversation now waits for an answer.
The customer’s first message on the thread, a customer message on a resolved thread, or an agent or API key reopening it. A reaction never opens one, nor does an outbound send.
Needsconversations:readdata
conversationPublicConversationRequiredIts fields are listed under Get conversation
livemodebooleanRequiredThe thread’s mode: false for a test thread — a test contact’s, or one on the platform’s test sender (sent to test endpoints).
reasonstringRequiredWhy it opened.
One of
first_messagecustomer_replyagentapi
Show an example deliveryHide the example
Loading the example…
conversation.resolved
A conversation was marked handled.
An agent or an API key resolved the thread.
Needsconversations:readdata
conversationPublicConversationRequiredIts fields are listed under Get conversation
livemodebooleanRequiredThe thread’s mode: false for a test thread — a test contact’s, or one on the platform’s test sender (sent to test endpoints).
Show an example deliveryHide the example
Loading the example…
WhatsApp and templates
template.updated
Meta reviewed a template or changed its category or quality.
change says which facet moved; template is as GET /v1/templates/{templateId} reads it.
templates:readdata
changestringRequiredWhich facet moved.
One of
statuscategoryqualitytemplatePublicTemplateRequiredIts fields are listed under Get template
Show an example deliveryHide the example
Loading the example…
whatsapp.account.updated
The WhatsApp account changed.
WhatsApp was connected or disconnected, or its credential, quality rating, display name, messaging limit or restriction changed.
Needswhatsapp:readdata
accountPublicWhatsAppAccountRequired10 fields of
accountbillingCurrencystring | nullRequiredThe currency Meta bills the WhatsApp account in.
businessIdstring | nullRequiredconnectedAtstring (date-time) | nullRequiredconnectionMethodstring | nullRequiredOne of
embedded_signupmanualcredentialStatusstring | nullRequiredmessagingLimitstring | nullRequirednumbersPublicWhatsAppNumber[]Required10 fields of
numbersdisplayPhoneNumberstring | nullRequiredisDefaultbooleanRequiredmessagingTierstring | nullRequirednameStatusstring | nullRequiredMeta’s display-name review status (APPROVED, PENDING_REVIEW, …).
phoneNumberIdstringRequiredWhatsApp
phone_number_id.qualityRatingstring | nullRequiredsenderIdstring (uuid)RequiredOur id for the number:
senderIdonPOST /v1/messages, to send from it rather than the default number.statusstringRequiredthroughputstring | nullRequiredverifiedNamestring | nullRequired
objectstringRequiredOne of
whatsapp_accountstatusstringRequiredneeds_attention: the token is invalid or expiring, a number is restricted, or quality is RED.disconnected: access was removed by the business or Meta.One of
not_connectedconnectedneeds_attentiondisconnectedwabaIdstring | nullRequired
changestringRequiredWhat happened to the account.
One of
connecteddisconnectedcredentialqualitynamelimitrestricted
Show an example deliveryHide the example
Loading the example…
Calls
call.queued
A call was handed to the carrier.
The call was created and its dial handed to the carrier.
Needscalls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.ringing
The contact’s phone is ringing — or a routed inbound call is ringing someone.
The carrier reports the contact’s phone ringing (ringing: null). On an inbound call its number’s flow routes, a connect step started ringing: ringing names who — each party by its place in the step’s targets and your reference, a number by its last four digits and the registered phone it is — and how (strategy). Once per party in a sequence, once for all at once.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
ringingobject | nullRequiredWho a routed inbound call is ringing, and how.
4 fields of
ringingattemptintegerRequiredCounts up through a sequence (0 for all at once).
stepintegerRequiredThe flow run step that rings.
strategystringRequiredsequential: this one party now;simultaneous: every number at once.One of
sequentialsimultaneoustargetsobject[]RequiredWho is ringing.
9 fields of
targetsagentMembershipIdstring | nullRequiredThe seat (
kind: agent).clientIdentitystring | nullRequiredThe client identity (
kind: client).indexintegerRequiredIts place in the
connect’stargets(0 forto, and for a seat taking a queue’s caller).kindstringRequiredWhat the party is.
One of
numberagentclientnumberLast4string | nullRequiredA number’s last four digits (
kind: number); never the number.phoneIdstring | nullRequiredThe registered phone (
GET /v1/phones/{phoneId}) the number is.phoneReferencestring | nullRequiredThat phone’s own
reference.queueIdstring | nullRequiredThe queue whose caller a seat took.
referencestring | nullRequiredYour
referenceon the flow’s target.
Show an example deliveryHide the example
Loading the example…
call.answered
The contact answered — or someone took a routed inbound call.
The conversation is live (answeredBy: null for an outbound call’s own answer). On an inbound call its number’s flow routes, someone took the caller: answeredBy.target says who (a number by its last four digits and the registered phone it is, a seat, an app, the queue a seat took the caller from) and confirmed whether they pressed the connect’s confirm key. A pickup that never confirmed is never told.
calls:readdata
answeredByobject | nullRequiredWho took a routed inbound call.
4 fields of
answeredBychildCallIdstring | nullRequiredThe leg dialled to a number that answered.
confirmedbooleanRequiredThey pressed the
connect’s confirm key (false when none was asked).stepintegerRequiredThe flow run step that rang.
targetobjectRequiredWho took the call.
9 fields of
targetagentMembershipIdstring | nullRequiredThe seat (
kind: agent).clientIdentitystring | nullRequiredThe client identity (
kind: client).indexintegerRequiredIts place in the
connect’stargets(0 forto, and for a seat taking a queue’s caller).kindstringRequiredWhat the party is.
One of
numberagentclientnumberLast4string | nullRequiredA number’s last four digits (
kind: number); never the number.phoneIdstring | nullRequiredThe registered phone (
GET /v1/phones/{phoneId}) the number is.phoneReferencestring | nullRequiredThat phone’s own
reference.queueIdstring | nullRequiredThe queue whose caller a seat took.
referencestring | nullRequiredYour
referenceon the flow’s target.
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.completed
A connected call ended.
With call.durationSeconds and who hung up (call.hangup.side).
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.failed
A call failed, or was cancelled before an answer.
call.failure says why.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.no_answer
The contact did not answer.
The call rang out unanswered.
Needscalls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.busy
The contact’s line was busy.
The carrier reported the line busy.
Needscalls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.recording.ready
A call’s recording is stored.
call.recording has its id, format and duration. No link rides on the event: fetch one from GET /v1/calls/{callId}/recording (recordings:read, which subscribing to this event also needs).
calls:readrecordings:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.inbound
A call to one of your numbers reached its route.
The caller is on the line, routed to a flow, an application, a queue or an agent: the call has direction: inbound, to the number of yours they dialled (international format) with its numberId, and from the caller masked to their last four digits (•••• ••3210).
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.held
A hold action put the caller on hold.
Fired by the hold action.
calls:readdata
actionIdstringRequiredThe action this event finishes (
POST /v1/calls/{callId}/actionsanswered with it asid).callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.resumed
A resume action took the caller off hold.
Fired by the resume action.
calls:readdata
actionIdstringRequiredThe action this event finishes (
POST /v1/calls/{callId}/actionsanswered with it asid).callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.transferred
A transfer connected the caller elsewhere.
An outside number answered (its last four digits), or a call flow, a voice application or a queue took the call over.
Needscalls:readdata
actionIdstringRequiredThe action this event finishes (
POST /v1/calls/{callId}/actionsanswered with it asid).callPublicCallRequiredIts fields are listed under Get call
transferobjectRequiredWhere the transfer took the call.
6 fields of
transferapplicationIdstring | nullRequiredThe voice application that took the call over.
callFlowIdstring | nullRequiredThe call flow that took the call over.
childCallIdstring | nullRequiredThe leg dialled to the number (
target: number).numberLast4string | nullRequiredThe number’s last four digits (
target: number); never the number.queueIdstring | nullRequiredThe queue the caller now waits in (
target: queue).targetstringRequiredWhere the call went.
One of
numbercall_flowapplicationqueue
Show an example deliveryHide the example
Loading the example…
call.gather.completed
A gather action finished.
With the keys pressed or what the caller said — never the digits of a sensitive gather.
Needscalls:readdata
actionIdstringRequiredThe action this event finishes (
POST /v1/calls/{callId}/actionsanswered with it asid).callPublicCallRequiredIts fields are listed under Get call
gatherobjectRequiredWhat the gather heard.
6 fields of
gatherdigitsstring | nullRequiredThe keys pressed; null when nothing was pressed or the gather was
sensitive(its digits are never stored or sent).inputstringRequiredWhat it listened for.
One of
dtmfspeechdtmf_speechoutcomestringRequiredHow it ended.
One of
completefinish_keytimeouthangupsensitivebooleanRequiredspeechobject | nullRequiredWhat the caller said (speech input): null for a key answer, a timeout, and always for a sensitive gather.
2 fields of
speechconfidencenumber | nullRequired0–1, or null when the recognizer gives none.
textstringRequired
speechUnavailablebooleanRequiredSpeech was asked for and could not be listened to — the speech-to-text could not start, or dropped before any words — so a
timeouthere was never the caller’s silence. False otherwise.
Show an example deliveryHide the example
Loading the example…
call.flow.failed
A call’s flow failed and the call was hung up.
The platform hung up rather than leave the caller on a silent line. call.failure carries the documented FLOW_* code; flow says where it failed.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
flowobjectRequiredWhere the flow failed (ids and codes only).
5 fields of
flowcausestring | nullRequiredWhat refused it, when that carried a code: the dial’s refusal for a
connect(DESTINATION_BLOCKED,BILLING_…), the media plane’s for audio.codestringRequiredThe documented call failure code, as on
call.failure.code(FLOW_CONNECT_FAILED, …).runIdstringRequiredThe flow run (one per answered call a flow drives).
stepintegerRequiredThe verbs the run had started, the failing one included.
verbstring | nullRequiredThe verb it failed on (
connect,say, …); null before the first.
Show an example deliveryHide the example
Loading the example…
call.machine_detected
The carrier told a person from an answering machine.
On a call that asked (machineDetection): call.machineDetection.result is human, machine or unknown. Once per call.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.transcript.ready
A call’s transcript is complete.
Read it with GET /v1/calls/{callId}/transcript (transcripts:read, which subscribing also needs): the event counts the segments, never carries the text. Fires only when something was transcribed.
calls:readtranscripts:readdata
callPublicCallRequiredIts fields are listed under Get call
transcriptobjectRequiredThe transcript’s state — a count, never the text.
3 fields of
transcriptfinalizedAtstring (date-time)RequiredWhen the transcript was completed.
segmentCountintegerRequiredHow many segments the transcript holds.
statusstringRequiredAlways
ready.One of
ready
Show an example deliveryHide the example
Loading the example…
call.summary.ready
The AI summarised and graded a call.
summary is what GET /v1/calls/{callId}/summary returns (status: ready). Once per call; an agent’s later wrap-up fires no second event. An AI agent’s test call fires it too, with the sandbox’s mock summary of its scripted conversation (summary.mock: true).
calls:readtranscripts:readdata
callPublicCallRequiredIts fields are listed under Get call
summaryPublicCallSummaryRequired12 fields of
summaryanalyzedAtstring (date-time) | nullRequiredWhen the AI graded the call.
callIdstring (uuid)Requiredconfidencenumber | nullRequiredThe AI’s confidence in its verdict.
0–1
dispositionstring | nullRequiredThe AI’s verdict on how the call went.
One of
interestednot_interestedcallback_requestedsale_agreeddo_not_call_requestedwrong_numbervoicemailno_decisionextractionPublicCallExtraction | nullRequiredWhat the call’s AI agent extracted with its extraction schema (
/v1/agentsextraction); null when its agent has none.5 fields of
extractiondataobject | nullRequiredThe data, matching the agent’s extraction schema; phone numbers in it masked to their last four digits. Null unless
ready.extractedAtstring (date-time) | nullRequiredfailureCodestring | nullRequiredPROVIDER_FAILED (the reasoning provider could not be reached), DECLINED (it refused or answered nothing), INVALID_OUTPUT (its answer did not match the schema, and was discarded), UNREADABLE (stored under a retired key).
One of
PROVIDER_FAILEDDECLINEDINVALID_OUTPUTUNREADABLEmockbooleanRequiredTrue when no provider extracted it: a test call’s extraction is the sandbox’s own, filled from its scripted conversation to the agent’s schema (mock output to build against). False on every live call.
statusstringRequiredready(data set),failed(failureCodesays why),pending(not yet run — it runs with the summary),unavailable(never will: no transcript, or no reasoning provider).One of
readyfailedpendingunavailable
followUpAtstring (date-time) | nullRequiredA callback time the contact asked for (“tomorrow at 2”), resolved in the organization’s time zone.
mockbooleanRequiredTrue when no AI graded the call: an AI agent’s test call ends with the sandbox’s own summary of its scripted conversation (and, for an agent with an extraction schema, its extraction), labelled as mock output, so
call.summary.readycan be built against before going live. False on every live call.objectstringRequiredOne of
call_summaryoutcomePublicCallOutcome | nullRequiredThe call’s outcome as the platform reports it: the agent’s wrap-up when one was filed, else the AI’s verdict.
4 fields of
outcomecodestring | nullThe organization’s own wrap-up code the agent filed (its slug), when it filed one —
valueis then the standard outcome the code counts as. Null for a standard outcome and for the AI’s verdict.labelstring | nullThat code’s label as the agent picked it (a code renamed since still reads as filed). Null whenever
codeis.sourcestringRequiredagentwhen a person filed the wrap-up (it supersedes the AI’s verdict), elseai.One of
agentaivaluestringRequiredOne of the eight standard outcomes. When the agent filed one of the organization’s own wrap-up codes, the standard outcome that code counts as (
codenames the code).One of
interestednot_interestedcallback_requestedsale_agreeddo_not_call_requestedwrong_numbervoicemailno_decision
sentimentstring | nullRequiredThe contact’s mood over the call, as the AI read it.
One of
positiveneutralnegativestatusstringRequiredpendingwhile the call is live or still being finalized;readyonce final;unavailablewhen it is final and there is none (nothing was transcribed or graded — a call that was not answered, a channel without a media stream, a deployment without speech-to-text or an AI provider, a test call).One of
pendingreadyunavailablesummarystring | nullRequiredThe AI’s account of the conversation, phone numbers masked to their last four digits.
Show an example deliveryHide the example
Loading the example…
call.transcript.segmentOpt-in
One line of a live call’s transcript.
As soon as it is stored: the item GET /v1/calls/{callId}/transcript lists, phone numbers masked to their last four digits. Opt-in — sent only to an endpoint that names it — because it fires once per utterance. Deliveries are not ordered: order by segment.sequence. Never sent for what is said while a sensitive gather is open.
calls:readtranscripts:readdata
callIdstringRequiredThe call.
livemodebooleanRequiredFalse for a test call (sent to test endpoints).
segmentPublicTranscriptSegmentRequired11 fields of
segmentconfidencenumber | nullRequiredThe transcriber’s confidence, when it reported one.
0–1
createdAtstring (date-time)RequiredendMsintegerRequiredMilliseconds from when the call was created.
idstring (uuid)Requiredlanguagestring | nullRequiredThe language the transcriber reported, when it did.
objectstringRequiredOne of
transcript_segmentrevisionintegerRequired1 as transcribed; a correction would be a higher revision of the same
sequence, listed after it.sequenceintegerRequiredThe segment’s place in the call, from 1.
speakerstringRequiredcontact(the call’s contact),agent(a person on the desk),ai(the AI agent),supervisor,platform, orunknown— a turn the platform could not attribute (a carrier stream that mixes agent and contact).One of
contactagentaisupervisorplatformunknownstartMsintegerRequiredMilliseconds from when the call was created.
textstring | nullRequiredWhat was said. A phone number spoken on the call is masked to its last four digits. Null when the stored text cannot be read.
Show an example deliveryHide the example
Loading the example…
call.rated
A call’s charge was written.
call.charge is the charge as GET /v1/calls/{callId} reads it — status (charged, waived or not_connected), amount, minutes, and the rule and reason it was rated by. A call is rated after its final call.* event, which carries charge: null. Once when it is rated; an unrated charge (no price yet) fires nothing until a re-rate or the backfill charges it, and a charged call fires again only when it is re-rated on corrected minutes. A test call is never rated, so it never fires.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
Show an example deliveryHide the example
Loading the example…
call.missed
An inbound caller reached nobody.
Every route the call tried went unanswered, the caller hung up waiting, or the business was closed. missed.reason says which; missed.voicemail is the message they left, when they left one (its audio is the call’s recording). Once per call, when its flow ends — the call’s own final event (call.completed) is separate. Text them back, or call them back, from here.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
missedobjectRequiredWhy the call was missed, and what the caller left.
3 fields of
missedqueueIdstring | nullRequiredThe queue the caller was waiting in, when one was involved.
reasonstringRequiredWhy nobody took the call.
One of
unansweredabandonedclosedtimed_outno_agentsqueue_fullcallback_requestedvoicemailobject | nullRequiredThe message the caller left; null when they left none.
4 fields of
voicemaildurationSecondsintegerRequiredHow long the message is.
idstringRequiredThe voicemail.
keystring | nullRequiredOne of the voicemail step’s
keysthe caller pressed (an opt-out, a callback ask); null when none.recordingIdstring | nullRequiredThe recording of the call that holds it (
GET /v1/calls/{callId}/recording?recordingId=); null when no audio was kept.
Show an example deliveryHide the example
Loading the example…
call.voicemail.ready
A caller’s message is ready, with its transcript.
The voicemail a caller left: its audio (voicemail.recordingId, fetched with GET /v1/calls/{callId}/recording?recordingId=), the key they pressed (voicemail.key) and — when the voicemail step asked — their words from the call’s live transcript (voicemail.transcript, phone numbers masked to their last four digits). Once per voicemail, a few seconds after the message ends, when the transcript of it has landed; it can come after the call’s call.missed. Needs transcripts:read as well as calls:read.
calls:readtranscripts:readdata
callPublicCallRequiredIts fields are listed under Get call
voicemailobjectRequiredThe message the caller left.
9 fields of
voicemailcallIdstringRequiredThe call it was left on.
createdAtstring (date-time)RequiredWhen the message was left.
durationSecondsintegerRequiredHow long the message is.
idstringRequiredThe voicemail.
keystring | nullRequiredOne of the voicemail step’s
keysthe caller pressed (an opt-out, a callback ask); null when none.objectstringRequiredOne of
voicemailqueueIdstring | nullRequiredThe queue whose agents work it, when one does.
recordingIdstring | nullRequiredThe recording of the call that holds it (
GET /v1/calls/{callId}/recording?recordingId=); null when no audio was kept.transcriptobjectRequiredThe caller’s words in the message, from the call’s live transcript.
2 fields of
transcriptstatusstringRequiredcompleted(the words are intext),unavailable(nothing was transcribed: no words, or no speech-to-text on the call) ornot_requested(the voicemail step did not ask, or nothing was recorded).One of
completedunavailablenot_requestedtextstring | nullRequiredWhat the caller said in the message, phone numbers masked to their last four digits; null unless
completed.
Show an example deliveryHide the example
Loading the example…
call.ai.transfer
An AI call’s agent handed the caller to a person.
The call names a transfer (its own, its ai route’s, or its session webhook’s) and its agent asked for a person. transfer.outcome is answered (the person has the caller and the agent left the call), no_answer or failed (cause says why: NO_ANSWER, BUSY, UNCONFIRMED, or the dial’s refusal such as DESTINATION_BLOCKED) — then the caller is back with the agent (returnedToAi). Once per hand-off (transfer.id); a call can hand off again after coming back.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
transferobjectRequiredWhat came of the hand-off.
9 fields of
transfercausestring | nullRequiredWhy it did not connect:
NO_ANSWER,BUSY,UNCONFIRMED, or the dial’s refusal (DESTINATION_BLOCKED,BILLING_…); null when answered.childCallIdstring | nullRequiredThe leg dialled to the person.
idstringRequiredThe hand-off (one per time the agent asked).
numberLast4string | nullRequiredThe number’s last four digits; never the number.
outcomestringRequiredanswered: the person has the caller;no_answer/failed: the caller is back with the agent.One of
answeredno_answerfailedphoneIdstring | nullRequiredThe registered phone (
GET /v1/phones/{phoneId}).phoneReferencestring | nullRequiredThat phone’s own
reference.returnedToAibooleanRequiredThe caller went back to the agent.
targetstringRequiredphone: one of your registered phones;number: an outside number.One of
phonenumber
Show an example deliveryHide the example
Loading the example…
call.ai.opt_out
An AI call’s caller opted out and was marked do-not-call.
The caller pressed the call’s opt-out key (optOut.method: dtmf, key) or said one of its phrases (speech, phrase — the configured phrase, never their words). The contact was marked do-not-call in the same transaction (optOut.doNotCall; the contact reads doNotContact: true and every call to them is refused CONTACT_DO_NOT_CALL), then the agent said the reply and the call ended. Once per call.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
optOutobjectRequiredHow the caller opted out.
5 fields of
optOutcontactIdstring | nullRequiredThe contact marked; null for a caller with none (a withheld number).
doNotCallbooleanRequiredThe contact is now do-not-call. False with no contact, and on a test call whose contact is a live one (a test key never changes live consent).
keystring | nullRequiredThe key pressed (
dtmf).methodstringRequireddtmf: the opt-out key;speech: one of the call’s phrases.One of
dtmfspeechphrasestring | nullRequiredWhich of the call’s own phrases was said (
speech) — never the caller’s words.
Show an example deliveryHide the example
Loading the example…
call.dtmfOpt-in
A key the caller pressed during an AI conversation, or a flow that tells keys.
Opt-in: sent only to endpoints that name it. One per key the caller pressed during an AI conversation (an AI call, or an AI step of a flow) or — P7 — during the steps of a flow that opts in (events: { dtmf: true }) — never one pressed into a sensitive gather.
calls:readdata
callPublicCallRequiredIts fields are listed under Get call
dtmfobjectRequiredThe key.
4 fields of
dtmfdigitstringRequired0–9,*or#.idstringRequiredOne per key press.
pressedAtstring (date-time)RequiredWhen it was pressed.
sequenceintegerRequiredCounts up from 1 through the call’s keys — a flow’s and its AI steps’ alike (it restarts if the carrier re-attaches the stream).
Show an example deliveryHide the example
Loading the example…
Conferences
conference.participant.joined
A party joined a conference.
A dialled number answered, or an agent accepted. Once per party.
Needscalls:readdata
conferencePublicConferenceRequiredIts fields are listed under Get conference
participantPublicConferenceParticipantRequired11 fields of
participantagentMembershipIdstring (uuid) | nullRequiredcallIdstring (uuid) | nullRequiredA dialled number’s own call (a leg in the conference call’s graph); the conference call for the caller.
heldbooleanRequiredidstring (uuid)RequiredThe party’s leg id: what mute and remove take.
joinedAtstring (date-time) | nullRequiredkindstringRequiredcaller: the party the conference call reached;number: a number dialled in;agent: a desk agent who joined;ai: an AI agent on the call.One of
callernumberagentaileftAtstring (date-time) | nullRequiredmutedbooleanRequirednumberLast4string | nullRequiredThe last four digits of a dialled number or of the caller.
objectstringRequiredOne of
conference_participantstatusstringRequiredOne of
ringingjoinedleftfailed
Show an example deliveryHide the example
Loading the example…
conference.participant.left
A party left a conference.
It hung up, or was removed. Once per party.
Needscalls:readdata
conferencePublicConferenceRequiredIts fields are listed under Get conference
participantPublicConferenceParticipantRequired11 fields of
participantagentMembershipIdstring (uuid) | nullRequiredcallIdstring (uuid) | nullRequiredA dialled number’s own call (a leg in the conference call’s graph); the conference call for the caller.
heldbooleanRequiredidstring (uuid)RequiredThe party’s leg id: what mute and remove take.
joinedAtstring (date-time) | nullRequiredkindstringRequiredcaller: the party the conference call reached;number: a number dialled in;agent: a desk agent who joined;ai: an AI agent on the call.One of
callernumberagentaileftAtstring (date-time) | nullRequiredmutedbooleanRequirednumberLast4string | nullRequiredThe last four digits of a dialled number or of the caller.
objectstringRequiredOne of
conference_participantstatusstringRequiredOne of
ringingjoinedleftfailed
Show an example deliveryHide the example
Loading the example…
conference.ended
A conference’s call ended.
Its participants show who was still on. Once per conference.
Needscalls:readdata
conferencePublicConferenceRequiredIts fields are listed under Get conference
Show an example deliveryHide the example
Loading the example…
Contacts and codes
contact.consent.updated
A contact’s consent on a channel changed.
WhatsApp, email or SMS consent moved — a STOP, an unsubscribe, a spam report, a reply, Meta’s own preference, or a write through the API or the console. consent.object names the channel.
contacts:readdata
consentPublicChannelConsentRequiredIts fields are listed under Get channel consent
livemodebooleanRequiredThe contact’s mode: false for a test contact’s consent (sent to test endpoints).
sourcestringRequiredWhat changed it.
One of
stop_keywordunsubscribe_linkspam_complaintstart_keywordinbound_messagemeta_preferencemeta_131050apiconsole
Show an example deliveryHide the example
Loading the example…
verify.approved
A one-time code was checked right.
verify.status is approved. Once per verification; never the code.
verify:readdata
verifyPublicVerifyRequiredIts fields are listed under Get verify
Show an example deliveryHide the example
Loading the example…
verify.expired
A one-time code ran out before the right one was checked.
verify.status is expired. Once per verification.
verify:readdata
verifyPublicVerifyRequiredIts fields are listed under Get verify
Show an example deliveryHide the example
Loading the example…
Numbers and SMS senders
number.port_request.updated
A port-in request moved.
Submitted, in review, approved (with the carrier’s date once known), rejected (with the platform’s note), completed (the numbers are yours) or cancelled. portRequest is what GET /v1/numbers/port-requests/{portRequestId} reads.
numbers:readdata
portRequestPublicNumberPortRequestRequiredIts fields are listed under Get port request
previousStatusstring | nullRequiredT7: where it was before; null when just submitted. The same as
portRequest.statuswhen only its date (focDate) or note changed.One of
submittedin_reviewapprovedrejectedcompletedcancelled
Show an example deliveryHide the example
Loading the example…
dlt.entity.updated
A DLT principal entity was registered, corrected or reviewed.
Registered (pending), corrected (back to pending), or reviewed by the platform: verified, rejected (with entity.reviewNote) or suspended. entity is what GET /v1/dlt/entities/{entityId} reads, its headers included. Once per version.
dlt:readdata
entityPublicDltEntityRequiredIts fields are listed under Get dlt entity
Show an example deliveryHide the example
Loading the example…
dlt.header.updated
A DLT header was registered or reviewed.
An SMS header or a 140/160-series voice header was registered or reviewed by the platform. header is what GET /v1/dlt/headers/{headerId} reads. Once per version.
dlt:readdata
headerPublicDltHeaderRequiredIts fields are listed under Get dlt header
Show an example deliveryHide the example
Loading the example…
sms.sender.updated
An SMS sender’s status moved.
Registered (pending_verification), activated, restricted or disabled by the platform, restricted or reactivated with its number (a long code), or sent back to pending_verification because the organization’s DLT entity changed. sender is what GET /v1/sms/senders/{senderId} reads. Once per version.
sms:readdata
senderPublicSmsSenderRequiredIts fields are listed under Get SMS sender
Show an example deliveryHide the example
Loading the example…
dlt.contest.updated
Your claim on a DLT header value another organization held moved.
A POST /v1/dlt/headers answered 409 DLT_REGISTRATION_CLAIMED while another organization held the value: the claim waits for the platform (opened), the value became free while it waits — the claim stays open for the platform, and nothing is said about the holder (holder_gone), the platform recorded the header for you (awarded, headerId — GET /v1/dlt/headers/{headerId}), or kept the value with its holder or another claim (dismissed). Never names the holder. Once per version of the claim.
dlt:readdata
contestobjectRequiredThe claim.
10 fields of
contestcategorystringRequiredThe category asked for.
One of
promotionaltransactionalservice_implicitservice_explicitcreatedAtstring (date-time)RequiredWhen the claim was made.
dltEntityIdstringRequiredYour entity (
dlt_entity.id) the header would be registered under.idstringRequiredThe claim.
kindstringRequiredThe header kind claimed.
One of
sms_headervoice_140voice_160objectstringRequiredAlways
dlt_contest.One of
dlt_contestresolvedAtstring (date-time) | nullRequiredWhen the platform decided it; null while open.
statusstringRequiredopenwhile the platform decides;awardedordismissedonce it has.One of
openawardeddismissedvaluestringRequiredThe SMS header (upper case), or the 140/160-series number in E.164.
versionintegerRequiredMoves on every change.
headerIdstring | nullRequiredawarded: the header recorded for you (pending review); null otherwise.outcomestringRequiredWhat just happened to the claim.
One of
openedholder_goneawardeddismissed
Show an example deliveryHide the example
Loading the example…
sms.sender_contest.updated
Your claim on an SMS sender another organization held moved.
A POST /v1/sms/senders answered 409 SMS_SENDER_CLAIMED while another organization held the header live: the claim waits for the platform (opened), the header became free while it waits — the claim stays open for the platform, and nothing is said about the holder (holder_gone), the platform registered the sender for you (awarded, senderId — GET /v1/sms/senders/{senderId}, pending_verification), or kept it with its holder or another claim (dismissed). Never names the holder. Once per version of the claim.
sms:readdata
contestobjectRequiredThe claim.
7 fields of
contestcreatedAtstring (date-time)RequiredWhen the claim was made.
headerstringRequiredThe header / sender ID claimed.
idstringRequiredThe claim.
objectstringRequiredAlways
sms_sender_contest.One of
sms_sender_contestresolvedAtstring (date-time) | nullRequiredWhen the platform decided it; null while open.
statusstringRequiredopenwhile the platform decides;awardedordismissedonce it has.One of
openawardeddismissedversionintegerRequiredMoves on every change.
outcomestringRequiredWhat just happened to the claim.
One of
openedholder_goneawardeddismissedsenderIdstring | nullRequiredawarded: the sender registered for you (pending_verification); null otherwise.
Show an example deliveryHide the example
Loading the example…
sms.registration.updated
A US 10DLC brand, campaign or number assignment moved.
A registration made with POST /v1/sms/brands, POST /v1/sms/campaigns or POST /v1/sms/campaigns/{campaignId}/numbers was created (previousStatus: null, pending), filed with the registry or put to the platform’s review (submitted), approved, rejected (statusReason says why), expired (a campaign) or removed (a number taken off its campaign). A number assignment approved activates the number’s SMS sender (senderId, told as sms.sender.updated); one removed, or whose campaign stopped being approved, sends it back to pending_verification. Read the registration itself with its GET. Once per version.
sms:readdata
registrationobjectRequiredThe registration that moved.
11 fields of
registrationbrandIdstringRequiredThe brand it is, or belongs to.
campaignIdstring | nullRequiredThe campaign it is, or belongs to; null for a brand.
idstringRequiredThe brand’s, campaign’s or number assignment’s id.
kindstringRequiredWhat moved: a
brand, acampaignor anumber_assignment.One of
brandcampaignnumber_assignmentlivemodebooleanRequiredT8: false for a test key’s sandbox registration (told to test endpoints).
numberIdstring | nullRequiredA number assignment’s number (
GET /v1/numbers/{numberId}); null otherwise.previousStatusstring | nullRequiredWhere it was before; null when it was just created.
One of
pendingsubmittedapprovedrejectedexpiredremovedreferencestringRequiredYour
referencefor it.senderIdstring | nullRequiredA number assignment’s number’s SMS sender (
GET /v1/sms/senders/{senderId}), when it has one; null otherwise.statusstringRequiredWhere it is now.
One of
pendingsubmittedapprovedrejectedexpiredremovedstatusReasonstring | nullRequiredWhy it was rejected or removed (the registry’s reasons); null otherwise.
Show an example deliveryHide the example
Loading the example…
number.updated
A number its carrier was reviewing was approved or rejected.
A number you ordered that its carrier bought for you but held for the regulator’s review (pendingCompliance: true, the order’s pending.code NUMBER_PENDING_COMPLIANCE) — compliance_approved: activated and charged (activated: true, status: assigned), or still on hold with a fresh reservedUntil and pending saying why (activate it with POST /v1/numbers/{numberId}/activate once that is fixed); compliance_rejected: handed back to the carrier, nothing charged, the number no longer yours (status: available, reason the carrier’s). Once per review.
numbers:readdata
changeobjectRequiredWhat changed.
4 fields of
changeactivatedbooleanRequiredTrue when the number is
assignednow.kindstringRequiredcompliance_approvedorcompliance_rejected.One of
compliance_approvedcompliance_rejectedpendingobject | nullRequiredWhy an approved number still waits on hold; null otherwise.
2 fields of
pendingcodestring | nullRequiredThe refusal activation met.
messagestringRequiredWhat to fix.
reasonstring | nullRequiredThe carrier’s reason for a rejection; null otherwise.
numberPublicPhoneNumberRequiredIts fields are listed under Get number
Show an example deliveryHide the example
Loading the example…
number.port_out.updated
A number unlocked for another carrier moved.
T7: a port-out made with POST /v1/numbers/{numberId}/port-out — unlocked (previousStatus: null; again, previousStatus: unlocked, for a new PIN or once the gaining carrier and its focDate are known), completed (the number left the platform: no longer yours, no further rentals), failed (refused or given up, or its PIN expired — failure.code PIN_EXPIRED — and the number relocked, still yours) or cancelled (you relocked it, or released the number). Never carries the PIN. Once per version.
numbers:readdata
portOutPublicNumberPortOutRequiredIts fields are listed under Get port out
previousStatusstring | nullRequiredWhere it was before; null when just unlocked.
One of
unlockedcompletedfailedcancelled
Show an example deliveryHide the example
Loading the example…
Billing
balance.low
Spend took the prepaid balance below its low-balance threshold.
Once per crossing: it fires again only after a top-up lifts the balance back over the threshold and spend takes it under again.
Needsbilling:readdata
balancePublicBalanceRequired8 fields of
balanceavailableMinorintegerRequiredPrepaid credit in minor units of
currency(paise for INR). May be negative: a call admitted on one minute of credit runs to its end, and the next dial is refused.billingPublicOrganizationBillingWho pays the organization’s charges. While its integration pays (
payer: integration) this wallet is not spent — the figures above stay as they were — and the monthly cap and this month’s spend are here.3 fields of
billingpayerstringRequiredorganization: its own wallet.integration: the wallet of the billing organization the platform set for the integration that provisioned it — each charge debits that wallet, attributed to this organization, and its own wallet is not spent.One of
organizationintegrationspendPublicSpend | nullRequiredWhile the integration pays: what this month has taken from it so far; null otherwise.
3 fields of
spendamountMinorintegerRequiredNet: charges less what was credited back (a refunded message, a re-rated call), as posted this month.
periodEndstring (date-time)RequiredExclusive.
periodStartstring (date-time)RequiredThe month’s start (UTC).
spendCapPublicSpendCap | nullRequiredWhile the integration pays: the monthly cap on what it pays (dials, sends and numbers past it are refused
402 BILLING_SPEND_CAP_REACHED); null for none.2 fields of
spendCapamountMinorintegerRequiredThe most its usage and fees may take, net, from the paying account in a month (minor units of the currency).
at least 1
periodstringRequiredA UTC calendar month.
One of
month
currencystringRequiredincludedMinutesPublicIncludedMinutes | nullRequiredThis period’s included call minutes (spent before per-minute rates apply); null without a subscription.
3 fields of
includedMinutesremainingintegerRequiredtotalintegerRequiredMinutes in this period’s bundle, as snapshotted when the period started.
usedintegerRequired
lowBalanceThresholdMinorinteger | nullRequiredBelow this the console warns the organization’s administrators. Null before the wallet exists.
objectstringRequiredOne of
balancesubscriptionPublicBillingSubscription | nullRequiredNull for an organization not enrolled on a plan yet.
6 fields of
subscriptioncancelAtPeriodEndbooleanRequiredcurrentPeriodEndstring (date-time)RequiredThe next renewal: the plan’s fee is debited then.
currentPeriodStartstring (date-time)RequiredplanPublicBillingPlanRefRequired2 fields of
plancodestringRequirednamestringRequired
statusstringRequiredpast_due: the plan’s fee could not be covered — dialling and sending are refused until a top-up settles it;suspended: held by the platform;canceled: cancelled at a period end.One of
trialingactivepast_duesuspendedcanceledtrialEndsAtstring (date-time) | nullRequired
updatedAtstring (date-time) | nullRequiredWhen the balance last moved; null before the wallet exists.
crossedByobjectRequiredThe ledger entry that crossed the threshold.
2 fields of
crossedByamountMinorintegerRequiredIts amount, in minor units.
typestringRequiredThe ledger entry’s type.
Show an example deliveryHide the example
Loading the example…