Create webhook
Create a new webhook configuration. Maximum 50 webhooks per user.
name, url and events are required. url must be a valid URL and events must contain at least one event. Whitespace is trimmed from url before validation.
Webhooks are automatically disabled after 10 consecutive delivery failures.
A restricted (zrk_) API key can only subscribe to events whose resource group the key holds; an event outside the key's groups is rejected with 403, so a restricted key can never create a subscription broader than itself.
disabledResourceGroups restricts the subscription itself, independently of which key or session later reads it. Events in a disabled group are dropped before delivery to this endpoint, on live delivery and on every replay path (test fire, redelivery, dead-letter requeue), even if they are listed in events. Omit it to receive everything in events, which is how existing subscriptions behave. A restricted key's own disabled groups are always unioned in.
Request body
Response
Webhook created successfully
Changes
Changed in 3 of the 27 revisions of this API.44
- ●
added the new
phone_number.stock_availableenum value to thewebhook/events/items/response property for the response status200response-property-enum-value-added
- ○
added the new
phone_number.stock_availableenum value to the request propertyevents/items/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 thewebhook/events/items/response property for the response status200response-property-enum-value-added
- ○
added the new
whatsapp.account.name_status_updatedenum value to the request propertyevents/items/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 thewebhook/events/items/response property for the response status200response-property-enum-value-added
- ●
added the new
whatsapp.template.category_updatedenum value to thewebhook/events/items/response property for the response status200response-property-enum-value-added
- ○
added the new
referral.receivedenum value to the request propertyevents/items/request-property-enum-value-added
- ○
added the new
whatsapp.template.category_updatedenum value to the request propertyevents/items/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
- ●