Create an incoming webhook
create_incoming_webhookCreate a secret URL that sends a WhatsApp message from one of the user's numbers to one fixed contact or group when something POSTs to it (JSON {text} or plain text, no API key).
Instructions
Create a secret URL that sends a WhatsApp message from one of the user's numbers to one fixed contact or group when something POSTs to it (JSON {text} or plain text, no API key). The URL is a credential, so it is not returned through this tool: the user copies it from the wuapi dashboard (Integrations, Incoming webhooks).
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": {
"accountId": "<accountId>",
"name": "<name>",
"to": "<to>"
},
"name": "create_incoming_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The fixed destination: a contact (+584121234567 or lid:<digits>) or a group (...@g.us). | |
| name | Yes | A label, for example the system that will call it. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |