CreateWebhookEndpointRequest
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/joinotifynamestring
Possible values: non-empty and <= 80 characters
Default value:
defaulteventsstring[]
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.
CreateWebhookEndpointRequest
{
"url": "https://your-server.com/webhooks/joinotify",
"name": "default",
"events": [
"string"
],
"wabaId": "string",
"phoneNumberId": "string"
}