Broadcasts allow you to send a WhatsApp message to many customers at once using a WhatsApp-approved template.
Free-form vs Templates
WhatsApp requires message templates for any business-initiated communication that occurs outside of an active session. A session automatically begins whenever a user sends a message to your WhatsApp number and remains open for 24 hours. During an active session, you can exchange free-form messages without additional constraints.
Broadcast Flow Overview
Verify the template exists, or create it if missing
Loop through your recipients and send the template via API
Receive customer replies through the Incoming Messages Webhook
Receive delivery/read status through the Status Webhook
1. Verify or Create a Template
Before broadcasting, make sure the template already exists in your Lipachat workspace.
{
"messageId": "c94ced08-5f40-46b7-a88d-7d4fbe113fe9",
"from": "CUSTOMER_PHONE_NUMBER",
"to": "WHATSAPP_NUMBER",
"profileName": "CUSTOMER_NAME",
"type": "TEXT",
"text": "I am interested in this product, do you offer delivery services"
}