Available Topics
Subscribe to the following webhook topics:| Topic | Description | Trigger |
|---|---|---|
PING | Health check/test webhook | Manual test |
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 |
startDate | datetime | When the call started |
recordingUrl | string | null | URL to the call recording |
fromNumber | string | Caller’s phone number |
fromName | string | null | Caller’s name if known |
to | string | Receiving phone number |
toName | string | null | Receiver’s name if known |
lengthInMinutes | 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 |
oneSentenceSummary | string | null | Brief one-sentence summary |
transcriptions | array | Array of transcript entries |
concatenatedTranscript | string | Full transcript as plain text |
dataCollected | object | Key-value pairs of data collected during the call |
type | string | INBOUND or OUTBOUND |
integrationId | string | null | Associated integration ID |
transferFrom | object | null | Transfer source details |
transferTo | object | null | Transfer destination details |
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 |
sentAt | datetime | When the message was sent/received |
fromNumber | string | Sender’s phone number |
toNumber | string | Recipient’s phone number |
fromName | string | Sender’s name |
toName | 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 |
lastName | string | null | Last name |
company | string | null | Company name |
emails | array | List of email addresses |
numbers | array | List of phone numbers |