Available Topics
Subscribe to the following webhook topics:| Topic | Description | Trigger |
|---|---|---|
CALL_RECEIVED | Triggered when a call is completed | After call ends |
SMS_RECEIVED | Triggered when an SMS is received | After SMS received |
SMS_SENT | Triggered when an SMS is sent | After SMS sent |
CONTACT_CREATED | Triggered when a contact is created | After contact creation |
CONTACT_UPDATED | Triggered when a contact is updated | After contact update |
Setting Up a Webhook
Use the Create Webhook endpoint to configure your webhook:Webhook Requirements
- Your webhook URL must be publicly accessible
- Your server should respond with a
200status code within 30 seconds - Use HTTPS for secure communication
Payload Format
All webhooks use a standard envelope format:Webhook Payloads
CALL_RECEIVED
Sent when a call is completed.| Field | Type | Description |
|---|---|---|
id | string | Unique call identifier |
start_date | datetime | When the call started |
recording_url | string | null | URL to the call recording |
from_number | string | Caller’s phone number |
from_name | string | null | Caller’s name if known |
to | string | Receiving phone number |
to_name | string | null | Receiver’s name if known |
length_in_minutes | number | Call duration in minutes |
length | string | Human-readable duration (e.g., “2m 30s”) |
tag | string | null | Category tag assigned to the call |
summary | string | null | AI-generated call summary |
one_sentence_summary | string | null | Brief one-sentence summary |
transcriptions | array | Array of transcript entries |
concatenated_transcript | string | Full transcript as plain text |
data_collected | object | Key-value pairs of data collected during the call |
type | string | INBOUND or OUTBOUND |
integration_id | string | null | Associated integration ID |
transfer_from | object | null | Transfer source details (see transfer object below) |
transfer_to | object | null | Transfer destination details (see transfer object below) |
user_email | string | Email of the user/route owner |
original_to_number | string | null | Original number dialed (before routing) |
original_to_name | string | null | Original name for the dialed number |
transfer_original_call_id | string | null | Call ID of the first call in the transfer chain (same for all calls in the chain) |
transfer_from / transfer_to):
| Field | Type | Description |
|---|---|---|
number | string | null | Phone number of the transfer party |
user_email | string | null | Email of the user who transferred/received |
user_name | string | null | Name of the user who transferred/received |
SMS_RECEIVED
Sent when an SMS message is received.SMS_SENT
Sent when an SMS message is sent.| Field | Type | Description |
|---|---|---|
id | string | Unique message identifier |
direction | string | INBOUND or OUTBOUND |
type | string | SMS or MMS |
content | string | Message content |
sent_at | datetime | When the message was sent/received |
from_number | string | Sender’s phone number |
to_number | string | Recipient’s phone number |
from_name | string | Sender’s name |
to_name | string | Recipient’s name |
CONTACT_CREATED
Sent when a new contact is created.CONTACT_UPDATED
Sent when an existing contact is updated.| Field | Type | Description |
|---|---|---|
id | string | Contact PID |
name | string | null | First name |
last_name | string | null | Last name |
company | string | null | Company name |
emails | array | List of email addresses |
numbers | array | List of phone numbers |