Skip to main content

Update a webhook subscription

PUT 

/v1/webhooks/:webhook_id

Request a change to a subscription's url, event_types, delivery_format or status (ACTIVE or DISABLED). Requires the connector:webhooks:update scope and an Idempotency-Key header. data.id must be the webhook_id of the path.

Send only the attributes to change; at least one is required, otherwise the request is rejected with 422 MISSING_ANY_OF. A new url must be an absolute https:// URL with a host. delivery_format, when sent, must be jsonapi. security.transport.mtls_required is accepted but currently has no effect: the platform does not present a client certificate on deliveries.

Returns 202 Accepted with an operation; follow it with GET /v1/operations/{operation_id}. This request does not change the signing secret; use POST /v1/webhooks/{webhook_id}/rotate-secret for that.

Request​

Responses​

Accepted. The operation (data.id) tracks the update.