Send Campaign Message

Trigger an approved WhatsApp template message dynamically through an active API Campaign, automatically mapping delivery statistics and inbox conversation threads.

POST/v1/messages/send-campaign

Request Body

Parameters

ParameterTypeRequiredDescription
phoneNumberstringYesRecipient phone number in E.164 format (e.g. +919876543210).
campaignIdstringYesThe active API Campaign ID (as shown in your campaign URL or Campaigns list).
variablesstring[]NoAn ordered list of dynamic variable values to replace template placeholders, e.g. ["John", "Mumbai"]. For actual variable mapping, please refer to the campaign details in your campaign dashboard.
mediaHeaderUrlstringNoDynamic URL for Image/Video/Document header if the campaign template requires a media attachment. Note: If sending an image, the image format must be strictly JPEG or PNG.
Variable Mapping Note: For the actual mapping of items in your variables array to the template placeholders (e.g., {{1}}, {{2}}), please refer to the specific Campaign Details page in your WaDoot dashboard.

Implementation Examples

curl -X POST "https://api.wadoot.com/v1/messages/send-campaign" \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: YOUR_API_KEY_HERE" \
  -d '{
    "phoneNumber": "+919876543210",
    "campaignId": "cm0j1u8v0000...",
    "variables": ["John", "Mumbai"]
  }'