Send Bulk WhatsApp Cloud Templates
Send one Meta-approved WhatsApp template to multiple recipients from your application, CRM, website, or backend system using the Libwana.Net WhatsApp API.
Before sending, get your API key from User Panel → Communication → API and keep it securely on your server.
Configure and activate your WhatsApp Cloud gateway and make sure the template you want to use is approved, synced, and active on that same gateway.
gateway_identifier must be the Libwana.Net Cloud
gateway UID, not the Meta WABA ID or phone-number ID.
The template_identifier must match the approved
template name available on the selected active Cloud gateway.
API Endpoint
https://libwana.net/api/whatsapp/send
Required Headers
YOUR_API_KEY
application/json
application/json
Windows CMD Example
curl.exe -X POST "https://libwana.net/api/whatsapp/send" -H "Api-key: YOUR_API_KEY" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw "{\"method\":\"cloud\",\"gateway_identifier\":\"YOUR_CLOUD_GATEWAY_UID\",\"template_identifier\":\"YOUR_APPROVED_TEMPLATE_NAME\",\"contact\":[{\"number\":\"15551234567\"},{\"number\":\"15557654321\"},{\"number\":\"15559876543\"}]}"
Windows CMD Example (gateway_identifier(optional))
curl.exe -X POST "https://libwana.net/api/whatsapp/send" -H "Api-key: YOUR_API_KEY" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw "{\"method\":\"cloud\",\"template_identifier\":\"YOUR_APPROVED_TEMPLATE_NAME\",\"contact\":[{\"number\":\"15551234567\"},{\"number\":\"15557654321\"},{\"number\":\"15559876543\"}]}"
Request Fields
| Field | Description |
|---|---|
method
|
Use cloud for Meta WhatsApp Cloud API sending.
|
gateway_identifier(optional)
|
Remove [\"gateway_identifier\":\"YOUR_CLOUD_GATEWAY_UID\",] from curl If you don't have as it is optional,The Libwana.Net UID of the active WhatsApp Cloud gateway |
template_identifier
|
The exact approved template name synced to the selected gateway. |
contact
|
An array containing multiple WhatsApp recipients. |
number
|
Recipient phone number including the appropriate country code. |
parameters
|
Required for contacts when the selected template contains variables. |
Template Variables
If the approved WhatsApp template contains variables, include
matching parameters for each recipient.
Different contacts can receive different variable values while using the same approved template.
{
"contact": [
{
"number": "15551234567",
"parameters": {
"body": ["Alex", "ORDER-101"]
}
},
{
"number": "15557654321",
"parameters": {
"body": ["Jamie", "ORDER-102"]
}
}
]
}
parameters object is not required.
Send Bulk Templates From Your Application or CRM
Your backend or CRM can dynamically build the
contact array and send the approved template
to multiple recipients in one request.
Where template variables are used, map the correct values to each contact before sending.
Your system should prevent duplicate events, respect recipient consent, and handle API errors appropriately.
Send Bulk Templates Using Contact Groups or CSV
You can also use Libwana.Net Contact Groups and WhatsApp Campaigns for bulk template sending.
/api/whatsapp/send endpoint accepts a
contact array. It does not accept the CSV file
or Contact Group ID directly.
Important Cloud Template Rules
The approved template must belong to the same active Cloud gateway
specified by gateway_identifier.
If the API reports that the template does not belong to the selected gateway, check the gateway/template pairing, approval status, activation, and synchronization.
Check WhatsApp Message Status
Use the returned message ID to check the WhatsApp message status.
/api/get/whatsapp/MESSAGE_ID
Include your Api-key and
Accept: application/json headers when checking status.
Ready to send bulk WhatsApp templates?
Connect your Meta Cloud gateway and start sending with Libwana.Net