Skip to main content
POST
Create WhatsApp campaign
Creates a WhatsApp campaign that automatically sends templated WhatsApp messages when an agent handles calls.
Only one WhatsApp campaign is allowed per agent. To modify templates or settings, use PUT /whatsapp/campaigns/{id}.

Body parameters

string
required
UUID of the AI agent to attach this campaign to.
string
Campaign display name.
string
Meta phone number ID to use as sender (overrides default).
boolean
default:"true"
Whether the WhatsApp campaign is active.
object[]
required
Array of template mappings (maximum 20).

Response