launchWhatsappCampaign
Starts a WhatsApp campaign and queues every pending contact once, verifying plan broadcast allowance and wallet balance while enforcing an idempotency key so retries never launch it twice.
Instructions
Start a draft campaign and queue every pending contact once.
It needs at least one contact, unless data_source is webhook. Launch
checks the plan's monthly broadcast allowance and the wallet balance.
Idempotency-Key is required, so a retry does not start it twice.
(Tags: WhatsApp)
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": {
"campaign_id": "<campaign_id>",
"Idempotency-Key": "<Idempotency-Key>"
},
"name": "launchWhatsappCampaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Id of a WhatsApp campaign, from `listWhatsappCampaigns`. | |
| Idempotency-Key | Yes | A unique string you choose, up to 255 characters. Required on this route. The same key with the same body replays the first answer for 24 hours instead of acting twice. A different body with the same key answers `409`. |