Create a new webhook
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | A descriptive name for the webhook |
url | string | Yes | The URL to receive webhook POST requests (must be a valid URL) |
events | string[] | Yes | Array of event types to subscribe to |
dispositions | number[] | No | Filter CALL_LOGGED events by disposition IDs. If provided, only calls with matching dispositions will trigger the webhook. |
| Event | Description |
|---|---|
CALL_LOGGED | Triggered when a user logs a call, capturing relevant call details |
CONTACT_SNOOZED | Triggered when a contact is snoozed, capturing the contact and snooze details |
Webhook created successfully
The response is of type object.