Get WhatsApp campaign
get_whatsapp_campaignGet one WhatsApp campaign with its progress: stats counts recipients by status (queued, sending, sent, delivered, read, failed, and skipped_* for contacts deliberately not messaged: opted out, Meta frequency cap, missing variable, region restricted, no WhatsApp identity), plus its send window, pace and daily cap. failure_reason says why a failed campaign stopped; paused_until is a cooldown Meta asked for. replies_count is how many recipients replied; lead_stats counts their replies by lead stage: hot and warm are qualified, cold, needs_review (a person should look), opted_out, unscored (not assessed). Empty when reply qualification is off. Spanish names of the stages: caliente, tibio, frío, por revisar, dado de baja, sin calificar.
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>"
},
"name": "get_whatsapp_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional: return only these fields of each record. | |
| campaign_id | Yes | Campaign id as returned by list_whatsapp_campaigns. |