Skip to main content
Initiate WhatsApp

Headers

string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Path Parameters

string
required
The campaign ID containing the customers to message.

Body Parameters

string
required
The ID of the WhatsApp template to be sent.
object
Optional configuration for conversational settings. If present, both agentId and dispositionId are required.
integer
Maximum number of customers to message. If omitted, all matching customers are messaged.
object
Optional filters to target specific customers. If omitted, all customers in the campaign are messaged. Multiple filters are combined with AND logic.

Response

boolean
true if all messages were initiated successfully, false otherwise.
string
Summary of the operation result.
object
Detailed breakdown of the message initiation.
Response Status Codes:
  • 200 — All messages initiated successfully
  • 207 — Partial success (some messages initiated, some failed)
  • 400 — Validation error
  • 404 — Campaign or customers not found
  • 500 — All messages failed or internal server error

Usage Examples

Message all customers in a campaign:
Message specific customers with conversation settings:
Message bounced and pending customers:
Message all customers except specific ones: