cURL
Webhooks
Update Webhook
Update a webhook
PUT
cURL
Updates an existing webhook configuration.
Path Parameters
- id (required, string): Webhook ID
Request Body
| 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 (CALL_LOGGED, CONTACT_SNOOZED) |
dispositions | number[] | No | Filter CALL_LOGGED events by disposition IDs |
Example Request
Response
Returns the updated webhook object, or 404 if not found.Authorizations
Path Parameters
Webhook ID
Body
application/json
Response
Webhook updated successfully
The response is of type object.