Send Bulk Template Messages (Different Values)

Send WhatsApp template messages to many numbers in one call, with different variable values for each number.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Get Phone Number ID & Message ID using this API

Add one object per customer in requests, each with its own numbers and variables_values. If every number gets the same values, use Send Template Message (Simple).

Separate the values of one template with | (in template order). All numbers inside one object get the same values.

{
  "phone_number_id": "579519398574288",
  "requests": [
    { "message_id": "47791", "numbers": "9999999999", "variables_values": "Rahul|500" },
    { "message_id": "47791", "numbers": "8888888888", "variables_values": "Ajay|800" },
    { "message_id": "47791", "numbers": "7777777777", "variables_values": "Priya|650" }
  ]
}

Up to 1,000 items and 10,000 numbers per call. Use the request_id in the reply with the WhatsApp delivery report.

Body Params
requests
array of objects
required
length between 1 and 1000

List of messages (max 1,000).

requests*
string
required

Template message ID.

string
required

Mobile numbers, comma separated.

string

Variable values for these numbers, separated by |.

string
length ≤ 2048

Required if the template has a header media (image / video / PDF).

string
length ≤ 255

(optional) Custom PDF document title.

string

(optional) Send this item from another WhatsApp number.

string

WABA Phone Number ID.

string

(optional) Send later: dd-mm-YYYY-HH-ii or unix timestamp.

string
length ≤ 255

User Defined Field 1 – optional value returned in the webhook.

string
length ≤ 255

User Defined Field 2 – optional value returned in the webhook.

string
length ≤ 255

User Defined Field 3 – optional value returned in the webhook.

Headers
string
required
Defaults to YOUR_API_KEY

Your API Key.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json