Skip to content

Event types

GET /v1/event_types returns this list. When you create a webhook endpoint you can subscribe to exact types, to a whole group with call.*, or to everything by sending an empty list.

EventWhen
call.startedA call begins from the website widget.
call.answeredA call is answered.
call.endedA call finishes. The data includes the reason.
call.missedA call ends unanswered. Also sent when a caller leaves a voicemail.
call.recording_availableListed as a type. See the note below.
voicemail.receivedListed as a type. See the note below.
EventWhen
message.receivedA customer message arrives on WhatsApp, Telegram, TikTok, Messenger, Instagram or the website widget.
message.sentA reply goes out on one of those channels.
conversation.needs_personThe assistant hands a conversation to a person, or the customer asks for one.
action.runListed as a type. See the note below.
EventWhen
knowledge.connection.syncedA sync of a connection finished.
knowledge.connection.failedA sync failed. AirFone will try again.
knowledge.connection.brokenA connection failed enough times in a row that syncing has stopped. Fix it and sync again.
knowledge.connection.removedA connection you removed has finished being cleared.
knowledge.connection.staleOne or more connections are more than a day past their next sync. Sent at most once a day, with their names.
knowledge.fact.conflictA record you pushed disagrees with a stronger fact (for example one the owner entered). The stronger one keeps answering until the owner chooses.

Sent to a partner’s own endpoints, for resellers.

EventWhen
client.createdThe partner adds a client.
invoice.issuedThe partner issues an invoice.
invoice.paidAn invoice is marked paid.
topup.succeededA wallet top-up goes through.
balance.lowThe available wallet balance drops below a fifth of the last top-up.
usage.thresholdListed as a type. See the note below.
  • call.recording_available, voicemail.received, action.run and usage.threshold are accepted when you subscribe, but no code path sends them yet.
  • channel_account.connected is sent when a WhatsApp, Meta or TikTok account is connected. It is not in the list GET /v1/event_types returns, so subscribe with an empty list or channel_account.* to receive it.
  • Events can arrive more than once and out of order. Use the event id to skip ones you have handled.