Jump to

  • Quickstarts
  • API reference
  • Webhook events
  • Error codes
  • SDKs

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 (read without delivered). 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.

  • apiVersionstringRequired

    The API version the payload shape belongs to.

    One ofv1

  • createdAtstring (date-time)Required

    When the change happened.

  • dataobjectRequired

    What the event is about: each event below lists its fields.

  • externalReferencestring | null

    Present when an integration provisioned the organization: that integration’s own reference for it (externalReference of POST /v1/organizations), so an integration endpoint — which receives every one of its organizations’ events — can route an event without a lookup.

  • idstringRequired

    The event id: the same on every retry and resend of it — the dedupe key.

  • livemodebooleanRequired

    Whether this is live traffic (true) or test traffic (false, delivered to test endpoints only) — the mode of the event’s subject, the same as any data.*.livemode it carries. Events about what has no test side (the balance, a port-in, DLT registrations, …) are always true; a webhook.test delivery carries its endpoint’s mode.

  • objectstringRequired

    One ofevent

  • organizationIdstring (uuid)Required

    The organization the event is about. A webhook.test sent to an integration endpoint names none: the nil UUID.

  • typestringRequired

    The 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.

Needsmessages:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

Loading the example…

message.read

The contact read a message.

Meta reported the WhatsApp message read.

Needsmessages:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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.

Needsmessages:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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).

Needsmessages:readcontacts:read

data

  • contactPublicContactRequired

    Its fields are listed under Get contact

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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.

Needsmessages:read

data

  • complaintobjectRequired

    The complaint as the receiving provider reported it.

    1 field of complaint
    • feedbackTypestring | nullRequired

      The receiving provider’s feedback type (abuse, fraud, …), when it gave one.

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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.

Needsmessages:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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.

Needsmessages:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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:read

data

  • messagePublicMessageRequired

    Its fields are listed under Get message

  • openobjectRequired

    The open.

    1 field of open
    • atstring (date-time)Required

      When it was opened.

Show an example delivery

Loading the example…

email.clicked

A person first clicked a tracked link of an email.

Once per link.

Needsmessages:read

data

  • clickobjectRequired

    The click.

    3 fields of click
    • atstring (date-time)Required

      When it was clicked.

    • linkintegerRequired

      The link’s 0-based position in the email.

    • urlstringRequired

      Where the link went.

  • messagePublicMessageRequired

    Its fields are listed under Get message

Show an example delivery

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:read

data

  • conversationPublicConversationRequired

    Its fields are listed under Get conversation

  • livemodebooleanRequired

    The thread’s mode: false for a test thread — a test contact’s, or one on the platform’s test sender (sent to test endpoints).

  • reasonstringRequired

    Why it opened.

    One offirst_messagecustomer_replyagentapi

Show an example delivery

Loading the example…

conversation.resolved

A conversation was marked handled.

An agent or an API key resolved the thread.

Needsconversations:read

data

  • conversationPublicConversationRequired

    Its fields are listed under Get conversation

  • livemodebooleanRequired

    The 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 delivery

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.

Needstemplates:read

data

  • changestringRequired

    Which facet moved.

    One ofstatuscategoryquality

  • templatePublicTemplateRequired

    Its fields are listed under Get template

Show an example delivery

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:read

data

  • accountPublicWhatsAppAccountRequired

    10 fields of account
    • billingCurrencystring | nullRequired

      The currency Meta bills the WhatsApp account in.

    • businessIdstring | nullRequired

    • connectedAtstring (date-time) | nullRequired

    • connectionMethodstring | nullRequired

      One ofembedded_signupmanual

    • credentialStatusstring | nullRequired

    • messagingLimitstring | nullRequired

    • numbersPublicWhatsAppNumber[]Required

      10 fields of numbers
      • displayPhoneNumberstring | nullRequired

      • isDefaultbooleanRequired

      • messagingTierstring | nullRequired

      • nameStatusstring | nullRequired

        Meta’s display-name review status (APPROVED, PENDING_REVIEW, …).

      • phoneNumberIdstringRequired

        WhatsApp phone_number_id.

      • qualityRatingstring | nullRequired

      • senderIdstring (uuid)Required

        Our id for the number: senderId on POST /v1/messages, to send from it rather than the default number.

      • statusstringRequired

      • throughputstring | nullRequired

      • verifiedNamestring | nullRequired

    • objectstringRequired

      One ofwhatsapp_account

    • statusstringRequired

      needs_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 ofnot_connectedconnectedneeds_attentiondisconnected

    • wabaIdstring | nullRequired

  • changestringRequired

    What happened to the account.

    One ofconnecteddisconnectedcredentialqualitynamelimitrestricted

Show an example delivery

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:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • ringingobject | nullRequired

    Who a routed inbound call is ringing, and how.

    4 fields of ringing
    • attemptintegerRequired

      Counts up through a sequence (0 for all at once).

    • stepintegerRequired

      The flow run step that rings.

    • strategystringRequired

      sequential: this one party now; simultaneous: every number at once.

      One ofsequentialsimultaneous

    • targetsobject[]Required

      Who is ringing.

      9 fields of targets
      • agentMembershipIdstring | nullRequired

        The seat (kind: agent).

      • clientIdentitystring | nullRequired

        The client identity (kind: client).

      • indexintegerRequired

        Its place in the connect’s targets (0 for to, and for a seat taking a queue’s caller).

      • kindstringRequired

        What the party is.

        One ofnumberagentclient

      • numberLast4string | nullRequired

        A number’s last four digits (kind: number); never the number.

      • phoneIdstring | nullRequired

        The registered phone (GET /v1/phones/{phoneId}) the number is.

      • phoneReferencestring | nullRequired

        That phone’s own reference.

      • queueIdstring | nullRequired

        The queue whose caller a seat took.

      • referencestring | nullRequired

        Your reference on the flow’s target.

Show an example delivery

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.

Needscalls:read

data

  • answeredByobject | nullRequired

    Who took a routed inbound call.

    4 fields of answeredBy
    • childCallIdstring | nullRequired

      The leg dialled to a number that answered.

    • confirmedbooleanRequired

      They pressed the connect’s confirm key (false when none was asked).

    • stepintegerRequired

      The flow run step that rang.

    • targetobjectRequired

      Who took the call.

      9 fields of target
      • agentMembershipIdstring | nullRequired

        The seat (kind: agent).

      • clientIdentitystring | nullRequired

        The client identity (kind: client).

      • indexintegerRequired

        Its place in the connect’s targets (0 for to, and for a seat taking a queue’s caller).

      • kindstringRequired

        What the party is.

        One ofnumberagentclient

      • numberLast4string | nullRequired

        A number’s last four digits (kind: number); never the number.

      • phoneIdstring | nullRequired

        The registered phone (GET /v1/phones/{phoneId}) the number is.

      • phoneReferencestring | nullRequired

        That phone’s own reference.

      • queueIdstring | nullRequired

        The queue whose caller a seat took.

      • referencestring | nullRequired

        Your reference on the flow’s target.

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

Loading the example…

call.completed

A connected call ended.

With call.durationSeconds and who hung up (call.hangup.side).

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

Loading the example…

call.failed

A call failed, or was cancelled before an answer.

call.failure says why.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

Loading the example…

call.no_answer

The contact did not answer.

The call rang out unanswered.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

Loading the example…

call.busy

The contact’s line was busy.

The carrier reported the line busy.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

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).

Needscalls:readrecordings:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

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).

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

Loading the example…

call.held

A hold action put the caller on hold.

Fired by the hold action.

Needscalls:read

data

  • actionIdstringRequired

    The action this event finishes (POST /v1/calls/{callId}/actions answered with it as id).

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

Loading the example…

call.resumed

A resume action took the caller off hold.

Fired by the resume action.

Needscalls:read

data

  • actionIdstringRequired

    The action this event finishes (POST /v1/calls/{callId}/actions answered with it as id).

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

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:read

data

  • actionIdstringRequired

    The action this event finishes (POST /v1/calls/{callId}/actions answered with it as id).

  • callPublicCallRequired

    Its fields are listed under Get call

  • transferobjectRequired

    Where the transfer took the call.

    6 fields of transfer
    • applicationIdstring | nullRequired

      The voice application that took the call over.

    • callFlowIdstring | nullRequired

      The call flow that took the call over.

    • childCallIdstring | nullRequired

      The leg dialled to the number (target: number).

    • numberLast4string | nullRequired

      The number’s last four digits (target: number); never the number.

    • queueIdstring | nullRequired

      The queue the caller now waits in (target: queue).

    • targetstringRequired

      Where the call went.

      One ofnumbercall_flowapplicationqueue

Show an example delivery

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:read

data

  • actionIdstringRequired

    The action this event finishes (POST /v1/calls/{callId}/actions answered with it as id).

  • callPublicCallRequired

    Its fields are listed under Get call

  • gatherobjectRequired

    What the gather heard.

    6 fields of gather
    • digitsstring | nullRequired

      The keys pressed; null when nothing was pressed or the gather was sensitive (its digits are never stored or sent).

    • inputstringRequired

      What it listened for.

      One ofdtmfspeechdtmf_speech

    • outcomestringRequired

      How it ended.

      One ofcompletefinish_keytimeouthangup

    • sensitivebooleanRequired

    • speechobject | nullRequired

      What the caller said (speech input): null for a key answer, a timeout, and always for a sensitive gather.

      2 fields of speech
      • confidencenumber | nullRequired

        0–1, or null when the recognizer gives none.

      • textstringRequired

    • speechUnavailablebooleanRequired

      Speech was asked for and could not be listened to — the speech-to-text could not start, or dropped before any words — so a timeout here was never the caller’s silence. False otherwise.

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • flowobjectRequired

    Where the flow failed (ids and codes only).

    5 fields of flow
    • causestring | nullRequired

      What refused it, when that carried a code: the dial’s refusal for a connect (DESTINATION_BLOCKED, BILLING_…), the media plane’s for audio.

    • codestringRequired

      The documented call failure code, as on call.failure.code (FLOW_CONNECT_FAILED, …).

    • runIdstringRequired

      The flow run (one per answered call a flow drives).

    • stepintegerRequired

      The verbs the run had started, the failing one included.

    • verbstring | nullRequired

      The verb it failed on (connect, say, …); null before the first.

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

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.

Needscalls:readtranscripts:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • transcriptobjectRequired

    The transcript’s state — a count, never the text.

    3 fields of transcript
    • finalizedAtstring (date-time)Required

      When the transcript was completed.

    • segmentCountintegerRequired

      How many segments the transcript holds.

    • statusstringRequired

      Always ready.

      One ofready

Show an example delivery

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).

Needscalls:readtranscripts:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • summaryPublicCallSummaryRequired

    12 fields of summary
    • analyzedAtstring (date-time) | nullRequired

      When the AI graded the call.

    • callIdstring (uuid)Required

    • confidencenumber | nullRequired

      The AI’s confidence in its verdict.

      0–1

    • dispositionstring | nullRequired

      The AI’s verdict on how the call went.

      One ofinterestednot_interestedcallback_requestedsale_agreeddo_not_call_requestedwrong_numbervoicemailno_decision

    • extractionPublicCallExtraction | nullRequired

      What the call’s AI agent extracted with its extraction schema (/v1/agents extraction); null when its agent has none.

      5 fields of extraction
      • dataobject | nullRequired

        The data, matching the agent’s extraction schema; phone numbers in it masked to their last four digits. Null unless ready.

      • extractedAtstring (date-time) | nullRequired

      • failureCodestring | nullRequired

        PROVIDER_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 ofPROVIDER_FAILEDDECLINEDINVALID_OUTPUTUNREADABLE

      • mockbooleanRequired

        True 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.

      • statusstringRequired

        ready (data set), failed (failureCode says why), pending (not yet run — it runs with the summary), unavailable (never will: no transcript, or no reasoning provider).

        One ofreadyfailedpendingunavailable

    • followUpAtstring (date-time) | nullRequired

      A callback time the contact asked for (“tomorrow at 2”), resolved in the organization’s time zone.

    • mockbooleanRequired

      True 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.ready can be built against before going live. False on every live call.

    • objectstringRequired

      One ofcall_summary

    • outcomePublicCallOutcome | nullRequired

      The 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 outcome
      • codestring | null

        The organization’s own wrap-up code the agent filed (its slug), when it filed one — value is then the standard outcome the code counts as. Null for a standard outcome and for the AI’s verdict.

      • labelstring | null

        That code’s label as the agent picked it (a code renamed since still reads as filed). Null whenever code is.

      • sourcestringRequired

        agent when a person filed the wrap-up (it supersedes the AI’s verdict), else ai.

        One ofagentai

      • valuestringRequired

        One 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 (code names the code).

        One ofinterestednot_interestedcallback_requestedsale_agreeddo_not_call_requestedwrong_numbervoicemailno_decision

    • sentimentstring | nullRequired

      The contact’s mood over the call, as the AI read it.

      One ofpositiveneutralnegative

    • statusstringRequired

      pending while the call is live or still being finalized; ready once final; unavailable when 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 ofpendingreadyunavailable

    • summarystring | nullRequired

      The AI’s account of the conversation, phone numbers masked to their last four digits.

Show an example delivery

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.

Needscalls:readtranscripts:read

data

  • callIdstringRequired

    The call.

  • livemodebooleanRequired

    False for a test call (sent to test endpoints).

  • segmentPublicTranscriptSegmentRequired

    11 fields of segment
    • confidencenumber | nullRequired

      The transcriber’s confidence, when it reported one.

      0–1

    • createdAtstring (date-time)Required

    • endMsintegerRequired

      Milliseconds from when the call was created.

    • idstring (uuid)Required

    • languagestring | nullRequired

      The language the transcriber reported, when it did.

    • objectstringRequired

      One oftranscript_segment

    • revisionintegerRequired

      1 as transcribed; a correction would be a higher revision of the same sequence, listed after it.

    • sequenceintegerRequired

      The segment’s place in the call, from 1.

    • speakerstringRequired

      contact (the call’s contact), agent (a person on the desk), ai (the AI agent), supervisor, platform, or unknown — a turn the platform could not attribute (a carrier stream that mixes agent and contact).

      One ofcontactagentaisupervisorplatformunknown

    • startMsintegerRequired

      Milliseconds from when the call was created.

    • textstring | nullRequired

      What 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 delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • missedobjectRequired

    Why the call was missed, and what the caller left.

    3 fields of missed
    • queueIdstring | nullRequired

      The queue the caller was waiting in, when one was involved.

    • reasonstringRequired

      Why nobody took the call.

      One ofunansweredabandonedclosedtimed_outno_agentsqueue_fullcallback_requested

    • voicemailobject | nullRequired

      The message the caller left; null when they left none.

      4 fields of voicemail
      • durationSecondsintegerRequired

        How long the message is.

      • idstringRequired

        The voicemail.

      • keystring | nullRequired

        One of the voicemail step’s keys the caller pressed (an opt-out, a callback ask); null when none.

      • recordingIdstring | nullRequired

        The recording of the call that holds it (GET /v1/calls/{callId}/recording?recordingId=); null when no audio was kept.

Show an example delivery

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.

Needscalls:readtranscripts:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • voicemailobjectRequired

    The message the caller left.

    9 fields of voicemail
    • callIdstringRequired

      The call it was left on.

    • createdAtstring (date-time)Required

      When the message was left.

    • durationSecondsintegerRequired

      How long the message is.

    • idstringRequired

      The voicemail.

    • keystring | nullRequired

      One of the voicemail step’s keys the caller pressed (an opt-out, a callback ask); null when none.

    • objectstringRequired

      One ofvoicemail

    • queueIdstring | nullRequired

      The queue whose agents work it, when one does.

    • recordingIdstring | nullRequired

      The recording of the call that holds it (GET /v1/calls/{callId}/recording?recordingId=); null when no audio was kept.

    • transcriptobjectRequired

      The caller’s words in the message, from the call’s live transcript.

      2 fields of transcript
      • statusstringRequired

        completed (the words are in text), unavailable (nothing was transcribed: no words, or no speech-to-text on the call) or not_requested (the voicemail step did not ask, or nothing was recorded).

        One ofcompletedunavailablenot_requested

      • textstring | nullRequired

        What the caller said in the message, phone numbers masked to their last four digits; null unless completed.

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • transferobjectRequired

    What came of the hand-off.

    9 fields of transfer
    • causestring | nullRequired

      Why it did not connect: NO_ANSWER, BUSY, UNCONFIRMED, or the dial’s refusal (DESTINATION_BLOCKED, BILLING_…); null when answered.

    • childCallIdstring | nullRequired

      The leg dialled to the person.

    • idstringRequired

      The hand-off (one per time the agent asked).

    • numberLast4string | nullRequired

      The number’s last four digits; never the number.

    • outcomestringRequired

      answered: the person has the caller; no_answer / failed: the caller is back with the agent.

      One ofansweredno_answerfailed

    • phoneIdstring | nullRequired

      The registered phone (GET /v1/phones/{phoneId}).

    • phoneReferencestring | nullRequired

      That phone’s own reference.

    • returnedToAibooleanRequired

      The caller went back to the agent.

    • targetstringRequired

      phone: one of your registered phones; number: an outside number.

      One ofphonenumber

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • optOutobjectRequired

    How the caller opted out.

    5 fields of optOut
    • contactIdstring | nullRequired

      The contact marked; null for a caller with none (a withheld number).

    • doNotCallbooleanRequired

      The 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 | nullRequired

      The key pressed (dtmf).

    • methodstringRequired

      dtmf: the opt-out key; speech: one of the call’s phrases.

      One ofdtmfspeech

    • phrasestring | nullRequired

      Which of the call’s own phrases was said (speech) — never the caller’s words.

Show an example delivery

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.

Needscalls:read

data

  • callPublicCallRequired

    Its fields are listed under Get call

  • dtmfobjectRequired

    The key.

    4 fields of dtmf
    • digitstringRequired

      0–9, * or #.

    • idstringRequired

      One per key press.

    • pressedAtstring (date-time)Required

      When it was pressed.

    • sequenceintegerRequired

      Counts 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 delivery

Loading the example…

Conferences

conference.participant.joined

A party joined a conference.

A dialled number answered, or an agent accepted. Once per party.

Needscalls:read

data

  • conferencePublicConferenceRequired

    Its fields are listed under Get conference

  • participantPublicConferenceParticipantRequired

    11 fields of participant
    • agentMembershipIdstring (uuid) | nullRequired

    • callIdstring (uuid) | nullRequired

      A dialled number’s own call (a leg in the conference call’s graph); the conference call for the caller.

    • heldbooleanRequired

    • idstring (uuid)Required

      The party’s leg id: what mute and remove take.

    • joinedAtstring (date-time) | nullRequired

    • kindstringRequired

      caller: 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 ofcallernumberagentai

    • leftAtstring (date-time) | nullRequired

    • mutedbooleanRequired

    • numberLast4string | nullRequired

      The last four digits of a dialled number or of the caller.

    • objectstringRequired

      One ofconference_participant

    • statusstringRequired

      One ofringingjoinedleftfailed

Show an example delivery

Loading the example…

conference.participant.left

A party left a conference.

It hung up, or was removed. Once per party.

Needscalls:read

data

  • conferencePublicConferenceRequired

    Its fields are listed under Get conference

  • participantPublicConferenceParticipantRequired

    11 fields of participant
    • agentMembershipIdstring (uuid) | nullRequired

    • callIdstring (uuid) | nullRequired

      A dialled number’s own call (a leg in the conference call’s graph); the conference call for the caller.

    • heldbooleanRequired

    • idstring (uuid)Required

      The party’s leg id: what mute and remove take.

    • joinedAtstring (date-time) | nullRequired

    • kindstringRequired

      caller: 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 ofcallernumberagentai

    • leftAtstring (date-time) | nullRequired

    • mutedbooleanRequired

    • numberLast4string | nullRequired

      The last four digits of a dialled number or of the caller.

    • objectstringRequired

      One ofconference_participant

    • statusstringRequired

      One ofringingjoinedleftfailed

Show an example delivery

Loading the example…

conference.ended

A conference’s call ended.

Its participants show who was still on. Once per conference.

Needscalls:read

data

  • conferencePublicConferenceRequired

    Its fields are listed under Get conference

Show an example delivery

Loading the example…

Contacts and codes

verify.approved

A one-time code was checked right.

verify.status is approved. Once per verification; never the code.

Needsverify:read

data

  • verifyPublicVerifyRequired

    Its fields are listed under Get verify

Show an example delivery

Loading the example…

verify.expired

A one-time code ran out before the right one was checked.

verify.status is expired. Once per verification.

Needsverify:read

data

  • verifyPublicVerifyRequired

    Its fields are listed under Get verify

Show an example delivery

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.

Needsnumbers:read

data

  • portRequestPublicNumberPortRequestRequired

    Its fields are listed under Get port request

  • previousStatusstring | nullRequired

    T7: where it was before; null when just submitted. The same as portRequest.status when only its date (focDate) or note changed.

    One ofsubmittedin_reviewapprovedrejectedcompletedcancelled

Show an example delivery

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.

Needsdlt:read

data

  • entityPublicDltEntityRequired

    Its fields are listed under Get dlt entity

Show an example delivery

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.

Needsdlt:read

data

  • headerPublicDltHeaderRequired

    Its fields are listed under Get dlt header

Show an example delivery

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.

Needssms:read

data

  • senderPublicSmsSenderRequired

    Its fields are listed under Get SMS sender

Show an example delivery

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.

Needsdlt:read

data

  • contestobjectRequired

    The claim.

    10 fields of contest
    • categorystringRequired

      The category asked for.

      One ofpromotionaltransactionalservice_implicitservice_explicit

    • createdAtstring (date-time)Required

      When the claim was made.

    • dltEntityIdstringRequired

      Your entity (dlt_entity.id) the header would be registered under.

    • idstringRequired

      The claim.

    • kindstringRequired

      The header kind claimed.

      One ofsms_headervoice_140voice_160

    • objectstringRequired

      Always dlt_contest.

      One ofdlt_contest

    • resolvedAtstring (date-time) | nullRequired

      When the platform decided it; null while open.

    • statusstringRequired

      open while the platform decides; awarded or dismissed once it has.

      One ofopenawardeddismissed

    • valuestringRequired

      The SMS header (upper case), or the 140/160-series number in E.164.

    • versionintegerRequired

      Moves on every change.

  • headerIdstring | nullRequired

    awarded: the header recorded for you (pending review); null otherwise.

  • outcomestringRequired

    What just happened to the claim.

    One ofopenedholder_goneawardeddismissed

Show an example delivery

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.

Needssms:read

data

  • contestobjectRequired

    The claim.

    7 fields of contest
    • createdAtstring (date-time)Required

      When the claim was made.

    • headerstringRequired

      The header / sender ID claimed.

    • idstringRequired

      The claim.

    • objectstringRequired

      Always sms_sender_contest.

      One ofsms_sender_contest

    • resolvedAtstring (date-time) | nullRequired

      When the platform decided it; null while open.

    • statusstringRequired

      open while the platform decides; awarded or dismissed once it has.

      One ofopenawardeddismissed

    • versionintegerRequired

      Moves on every change.

  • outcomestringRequired

    What just happened to the claim.

    One ofopenedholder_goneawardeddismissed

  • senderIdstring | nullRequired

    awarded: the sender registered for you (pending_verification); null otherwise.

Show an example delivery

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.

Needssms:read

data

  • registrationobjectRequired

    The registration that moved.

    11 fields of registration
    • brandIdstringRequired

      The brand it is, or belongs to.

    • campaignIdstring | nullRequired

      The campaign it is, or belongs to; null for a brand.

    • idstringRequired

      The brand’s, campaign’s or number assignment’s id.

    • kindstringRequired

      What moved: a brand, a campaign or a number_assignment.

      One ofbrandcampaignnumber_assignment

    • livemodebooleanRequired

      T8: false for a test key’s sandbox registration (told to test endpoints).

    • numberIdstring | nullRequired

      A number assignment’s number (GET /v1/numbers/{numberId}); null otherwise.

    • previousStatusstring | nullRequired

      Where it was before; null when it was just created.

      One ofpendingsubmittedapprovedrejectedexpiredremoved

    • referencestringRequired

      Your reference for it.

    • senderIdstring | nullRequired

      A number assignment’s number’s SMS sender (GET /v1/sms/senders/{senderId}), when it has one; null otherwise.

    • statusstringRequired

      Where it is now.

      One ofpendingsubmittedapprovedrejectedexpiredremoved

    • statusReasonstring | nullRequired

      Why it was rejected or removed (the registry’s reasons); null otherwise.

Show an example delivery

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.

Needsnumbers:read

data

  • changeobjectRequired

    What changed.

    4 fields of change
    • activatedbooleanRequired

      True when the number is assigned now.

    • kindstringRequired

      compliance_approved or compliance_rejected.

      One ofcompliance_approvedcompliance_rejected

    • pendingobject | nullRequired

      Why an approved number still waits on hold; null otherwise.

      2 fields of pending
      • codestring | nullRequired

        The refusal activation met.

      • messagestringRequired

        What to fix.

    • reasonstring | nullRequired

      The carrier’s reason for a rejection; null otherwise.

  • numberPublicPhoneNumberRequired

    Its fields are listed under Get number

Show an example delivery

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.

Needsnumbers:read

data

  • portOutPublicNumberPortOutRequired

    Its fields are listed under Get port out

  • previousStatusstring | nullRequired

    Where it was before; null when just unlocked.

    One ofunlockedcompletedfailedcancelled

Show an example delivery

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:read

data

  • balancePublicBalanceRequired

    8 fields of balance
    • availableMinorintegerRequired

      Prepaid 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.

    • billingPublicOrganizationBilling

      Who 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 billing
      • payerstringRequired

        organization: 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 oforganizationintegration

      • spendPublicSpend | nullRequired

        While the integration pays: what this month has taken from it so far; null otherwise.

        3 fields of spend
        • amountMinorintegerRequired

          Net: charges less what was credited back (a refunded message, a re-rated call), as posted this month.

        • periodEndstring (date-time)Required

          Exclusive.

        • periodStartstring (date-time)Required

          The month’s start (UTC).

      • spendCapPublicSpendCap | nullRequired

        While 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 spendCap
        • amountMinorintegerRequired

          The most its usage and fees may take, net, from the paying account in a month (minor units of the currency).

          at least 1

        • periodstringRequired

          A UTC calendar month.

          One ofmonth

    • currencystringRequired

    • includedMinutesPublicIncludedMinutes | nullRequired

      This period’s included call minutes (spent before per-minute rates apply); null without a subscription.

      3 fields of includedMinutes
      • remainingintegerRequired

      • totalintegerRequired

        Minutes in this period’s bundle, as snapshotted when the period started.

      • usedintegerRequired

    • lowBalanceThresholdMinorinteger | nullRequired

      Below this the console warns the organization’s administrators. Null before the wallet exists.

    • objectstringRequired

      One ofbalance

    • subscriptionPublicBillingSubscription | nullRequired

      Null for an organization not enrolled on a plan yet.

      6 fields of subscription
      • cancelAtPeriodEndbooleanRequired

      • currentPeriodEndstring (date-time)Required

        The next renewal: the plan’s fee is debited then.

      • currentPeriodStartstring (date-time)Required

      • planPublicBillingPlanRefRequired

        2 fields of plan
        • codestringRequired

        • namestringRequired

      • statusstringRequired

        past_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 oftrialingactivepast_duesuspendedcanceled

      • trialEndsAtstring (date-time) | nullRequired

    • updatedAtstring (date-time) | nullRequired

      When the balance last moved; null before the wallet exists.

  • crossedByobjectRequired

    The ledger entry that crossed the threshold.

    2 fields of crossedBy
    • amountMinorintegerRequired

      Its amount, in minor units.

    • typestringRequired

      The ledger entry’s type.

Show an example delivery

Loading the example…