Update webhook
Update an existing webhook configuration. All fields except webhookId are optional; only provided fields will be updated. webhookId is the same name the other /v1/webhooks operations use (logs, redeliver, test); the deprecated _id is still accepted in its place.
When provided, name must be 1-50 characters, url must be a valid URL, and events must contain at least one event. Whitespace is trimmed from url before validation.
Webhooks are auto-disabled only once the endpoint has had no successful delivery for 3 days AND has either reached 20 consecutive terminal failures (each one an event that exhausted the full retry ladder) or been failing continuously for 3 days. The owner is emailed; re-enable it with isActive: true.
A restricted (zrk_) API key can only set events to events whose resource group the key holds; an event outside the key's groups is rejected with 403. It also cannot widen an existing subscription past its own groups.
disabledResourceGroups replaces the subscription's own denylist, which applies to delivery regardless of which key or session created it. Send an empty array to clear it. A restricted key's own disabled groups are unioned into the stored value on every update, so repointing a legacy unrestricted subscription with a restricted key also narrows it.
Timing: the new denylist applies to every event emitted after the update. Events already queued for delivery when the update landed were filtered against the previous denylist and can still arrive at your endpoint for up to five minutes after they were enqueued, because the delivery worker trusts a five-minute enqueue-time snapshot before re-checking the subscription. Retries beyond that window, dead-letter replays, test fires, and redeliveries are all checked against the current denylist.
profileIds and accountIds replace the subscription's allowlists; an empty array clears one. Ids outside your team are rejected with 404 (profile_not_found, account_not_found).
Request body
Response
Webhook updated successfully
Changes
Changed in 8 of the 56 revisions of this API.815
- ●
added the new
sms.registration.action_requiredenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
sms.registration.status_updatedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
sms.registration.action_requiredenum value to the request property/request-property-enum-value-added
- ○
added the new
sms.registration.status_updatedenum value to the request property/request-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
the request property
became optionalrequest-property-became-optional
- ○
request property
deprecatedrequest-property-deprecated
- ○
- ●
added the new
conversation.control_changedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
conversation.control_changedenum value to the request property/request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
analytics.syncedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
analytics.syncedenum value to the request property/request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
phone_number.stock_availableenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
phone_number.stock_availableenum value to the request property/request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
whatsapp.account.name_status_updatedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
whatsapp.account.name_status_updatedenum value to the request property/request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
referral.receivedenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
whatsapp.template.category_updatedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
referral.receivedenum value to the request property/request-property-enum-value-added
- ○
added the new
whatsapp.template.category_updatedenum value to the request property/request-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●