Webhook Event Reference
| Event | Fires when | Filters |
|---|---|---|
| call.started | an outbound call is placed, or Kixie answers an inbound call | direction |
| call.answered | a call is first answered: by the contact on an outbound call, by an agent on an inbound call. Fires once per call; a later transfer does not fire it again. | direction |
| call.ended | a call ends (not fired for blocked inbound calls) | direction, callStatus |
| call.outcome.submitted | a call outcome is set or changed (editing only the note does not fire it) | callOutcomeId |
| sms.message.delivered | an outbound SMS/MMS is delivered | none |
| sms.message.failed | an outbound SMS/MMS fails, including when Kixie does not send it because the contact opted out | none |
| sms.message.received | an inbound SMS or MMS arrives (not texts from blocked numbers, and not one-time passcode texts) | none |
| voicemail.received | a caller leaves a voicemail for an agent (not voicemail left in an IVR) | none |
PowerDialer calls: calls placed by the PowerDialer do not send call.started, call.answered or call.ended yet. Outcomes logged on PowerDialer calls do send call.outcome.submitted.
Phone numbers. On outbound calls, businessPhone and contactPhone are in E.164 format (for example +14155550123). On inbound calls, SMS and voicemail they come through as the carrier sent them: usually E.164, but they may lack the leading +. Normalize them on your side before matching.
In the lists below, * means the field is present only when known.
call.started
- conversationId, accountId
- direction (
inbound,outbound) - initiator (
manual,inbound,c2c,powerdialer) - agentUserId*, businessPhone*, contactPhone
- contactId*, contactName*, crmContactId*, crmProvider*
- providerCallId, startedAt
On inbound calls, call.started carries no contact fields (contactId, contactName, crmContactId, crmProvider). contactName is left out when the contact came from a CRM import or webhook.
call.answered: the same fields as call.started, plus answeredAt.
call.ended adds:
- answeredAt*, endedAt
- durationSeconds: 0 when nobody answered.
- callStatus (
answered,missed,cancelled,blocked):blockedappears only on outbound calls blocked after they were placed. - callOutcomeName*: present only if the outcome was logged before the call ended.
- recordingUrl*: see below.
About recordingUrl:
- It plays the call's recording without signing in. Anyone who has the link can play the recording, so treat it like a password.
- It answers 404 until the recording is archived, shortly after the call, then redirects to a short-lived download link.
- It plays the call's latest recording, and the link does not expire.
call.outcome.submitted
- accountId, callOutcomeId, callOutcomeName, submittedByUserId, submittedAt.
- When the outcome is tied to a call, it also carries that call's fields, except
answeredAt. Once that call has ended, it adds endedAt, durationSeconds and callStatus.
sms.message.delivered: messageId, threadId, accountId, businessPhone, contactPhone, body, providerMessageId, providerName (twilio or plivo).
sms.message.failed: the same fields as delivered, except that providerMessageId can be missing (a carrier can fail a send before assigning one). Also carries failureReason, one of:
SMS_FAILURE_UNREACHABLE_HANDSETSMS_FAILURE_BLOCKEDSMS_FAILURE_UNKNOWN_HANDSETSMS_FAILURE_LANDLINE_OR_UNREACHABLE_CARRIERSMS_FAILURE_FILTEREDSMS_FAILURE_CARRIER_UNKNOWNSMS_FAILURE_CANCELEDSMS_FAILURE_PROVIDER_REJECTEDSMS_FAILURE_OPTED_OUTSMS_FAILURE_NOT_A_MOBILE_NUMBERSMS_FAILURE_MEDIA_NOT_FETCHEDSMS_FAILURE_PROVIDER_UNREACHABLESMS_FAILURE_NOT_REGISTEREDSMS_FAILURE_UNMAPPED
sms.message.received
- messageId, threadId, accountId, businessPhone, contactPhone, body
- providerMessageId, providerName
- receivedAt (ISO 8601)
- kind (
smsormms) - media (MMS only): a list of attachments, each
{ fileId, contentType, mediaFetchFailed? }.mediaFetchFailedis true when Kixie could not store a copy of the file.
voicemail.received: conversationId, accountId, agentUserId, businessPhone, contactPhone, durationSeconds, recordingSid. The payload has no timestamp; use the envelope's occurredAt. There is no audio link in this version.