# Update domain webhooks (v4) Update webhook URL to associate it with different event types. This replaces the existing event type associations for the given URL. Endpoint: PUT /v4/domains/{domain}/webhooks Version: 3.0.0 Security: basicAuth ## Path parameters: - `domain` (string, required) The domain name to update webhooks for ## Request fields (application/x-www-form-urlencoded): - `url` (string, required) The webhook URL to update - `event_types` (string, required) New event types to associate with this URL. Use multiple times to specify multiple event types. This replaces the existing associations. Valid types are: , , , , , , , ## Response 200 fields (application/json): - `webhooks` (object, required) List of webhooks - `webhooks.accepted` (any) Accepted webhook URLs - `webhooks.delivered` (any) Delivered webhook URLs - `webhooks.opened` (any) Opened webhook URLs - `webhooks.clicked` (any) Clicked webhook URLs - `webhooks.unsubscribed` (any) Unsubscribed webhook URLs - `webhooks.complained` (any) Complained webhook URLs - `webhooks.temporary_fail` (any) Temporary fail webhook URLs - `webhooks.permanent_fail` (any) Permanent fail webhook URLs ## Response 400 fields (application/json): - `Reason` (string, required) ## Response 401 fields (application/json): - `message` (string, required) Response message ## Response 404 fields (application/json): - `message` (string, required) Response message