set_webhook
Configure or replace the client webhook URL(s) that receive inbound 1msg events; pass up to five URLs to deliver the same events to multiple endpoints.
Instructions
Set the client webhook URL that receives inbound events for this channel.
Replaces the stored webhook list (it does not append). To deliver the same
events to several endpoints, pass an array in webhookUrl (max 5) or use
POST /settings. With several URLs already configured, posting only the
disabled URL drops the others — send the complete array to re-enable one
of many.
Incoming payloads include messages, delivery ACKs, group updates, coexistence
echoes, and calling events. WhatsApp Calling payloads (type: "calls") are
documented under the Calling tag. Call permission replies arrive on the
normal messages path (call_permission_reply).
Repeating POST /webhook with the same URL(s) clears an auto-disable (self-serve
re-enable). Send/receive are not affected by webhook auto-disable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"webhookUrl": "<webhookUrl>"
},
"name": "set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookUrl | Yes |