v1
latestOpenAPI 3.0.32026-07-26870417.2 KBmessage
Broadcast Message
This endpoint is used to send bulk messages to many chats
post/message/broadcast
Headers
x-phonestring
Example:918527184400
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
Request body
Example request
{
"message": "Hello World",
"scheduled_at": "2025-02-06T11:21:00Z",
"delay": 10,
"variables": [
{
"values": {
"name": "hansal",
"var1": "test"
},
"chat_id": "91882424xxxx@c.us"
}
]
}Response
200 OK
object required
The response object contains the broadcast_id
You can check the status and logs of the broadcast jobs from the /queue/jobs endpoint
Alternatively, to get all individual message queue jobs for this broadcast, call POST /message/queues with { "broadcast_id": "<id>" } in the request body
The broadcast_id can also be mapped in the message object against the broadcast_id (same key)