Broadcast a message
Broadcasts a message to multiple chats
Any of - chat_ids
| label
can be used to send a broadcast message.
The broadcast will be sent using the phone number provided in the request. If no phone number is provided, the broadcast will be sent using the connected phone number.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token> is your apiKey
generated in Periskope API settings.
Headers
Organisation phone number(with country code) and without any spaces or special characters.
e.g. 9190043XXXXX
Body
You can send a broadcast to all the chats that have a specific label.
Provide a single label ID that belongs to all the chats to which the message needs to be sent.
e.g. label-jamslkwaxzbsdvqt
You can find the chat label IDs using the List all org labels (Chat) API.
You must provide either a label
or chat_ids
. If both are provided, the label
will be ignored.
Comma separated chat IDs to which the message needs to be sent.
for e.g. 12058946XXX@g.us
, 9198765XXXXX@c.us
Response
The response is of type object
.
Was this page helpful?