Webhooks
Replace webhooks
PUT
Replace the webhook URLs. Omitted fields become null.
HTTPBearerheader
AuthorizationBearer <token>phone_number*stringYour WhatsApp number, digits only, e.g. 393401234567.
application/json- body
inbound_webhook?|Messages users send to the number. http(s) URL, up to 255 characters. null turns the flow off.
outbound_webhook?|Each message sent from the number, and each failed send. http(s) URL, up to 255 characters. null turns the flow off.
status_webhook?|Status changes of the messages you sent. http(s) URL, up to 255 characters. null turns the flow off.
OK
application/json- response
phone_number*stringThe number.
inbound_webhook*|Receives messages users send to the number.
outbound_webhook*|Receives each message sent from the number, and each failed send.
status_webhook*|Receives status changes of the messages you sent.
created_at*stringWhen the configuration was created, UTC.
Format
date-timeupdated_at*stringWhen it last changed, UTC.
Format
date-timecurl -X PUT 'https://api.wapiu.ai/v1/numbers/393401234567/webhooks' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "phone_number": "393401234567", "inbound_webhook": "https://example.com/wapiu/inbound", "outbound_webhook": null, "status_webhook": "https://example.com/wapiu/status", "created_at": "2026-11-22T10:15:00Z", "updated_at": "2026-11-22T10:15:00Z"}