Update a WhatsApp webhook
Updates the URL of a WhatsApp webhook or turns it off or on, and returns the updated webhook.
Move events to a new URL without deleting the webhook, so its ID and signing secret stay the same, or pause events while your server is down for maintenance.
Behavior: Returns 200 with the updated webhook. With enabled set to false, Wavix cancels the deliveries still waiting. Events that Wavix records while the webhook is disabled aren’t sent later; read them with List WhatsApp events. With enabled set to true, the webhook gets the events that occur from then on.
Requires: Your account must have the WhatsApp channel enabled, must have a subscription plan, and must not be blocked or suspended.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
Body
Attributes of the webhook to change.
Fields to update on a WhatsApp webhook. Consumed by Update a WhatsApp webhook. Specify at least one field; fields you omit keep their values.
Whether Wavix sends events to the webhook. When false, Wavix sends only test events. Read the others with List WhatsApp events.
false