Skip to main content

UpdateWebhookEndpointRequest

urlstring<uri>required

In production it has to be HTTPS and public. We reject http:// and private hosts (localhost, 127.*, 10.*, 192.168.*, 169.254.*, 172.16-31.*, *.internal, *.local).

Example: https://your-server.com/webhooks/joinotify
namestring

Possible values: non-empty and <= 80 characters

Default value: default
eventsstring[]

An empty list subscribes to every event.

Possible values: Value must match regular expression ^[a-z_]+$

Default value: []
wabaIdstring

Deliver only the events of this business account.

phoneNumberIdstring

Deliver only the events of this number. Events with no number attached do not match this filter.

activeboolean

true on a disabled endpoint resets the failure counter and clears disabledAt.

UpdateWebhookEndpointRequest
{
"url": "https://your-server.com/webhooks/joinotify",
"name": "default",
"events": [
"string"
],
"wabaId": "string",
"phoneNumberId": "string",
"active": true
}