This endpoint is used to send bulk messages to many chats
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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
"918527184400"
"Hello World"
"2025-02-06T11:21:00Z"
1 second10
url - public URL that hosts the content to be sentfiledata - Raw bytes of the file, represented in base64type - The type of the media. Can be image, video, document or audiofilename - The filename of the media. Only applicable for document messagespollName - The question or title of the poll
pollOptions - Raw bytes of the file, represented in base64options - Additional options to be sent with the poll
allowMultipleAnswers - Boolean. When set to true, respondents can select multiple optionspollId - Optional unique identifier of the poll. Useful when sending it across multiple chats{{var}}{{var}} placeholders are present in the message200 OK
The response object contains the broadcast_id
You can check the status and logs of the broadcast jobs from the /queue/jobs endpoint
The broadcast_id can also be mapped in the message object against the broadcast_id (same key)