#
Send bulk messages
- Send messages in bulk on Twilio SMS, Twilio WhatsApp or Gupshup WhatsApp channel.
- You can also send an image, a video or a file.
- Calling this API will create a bulk messaging job, which you can also see and update on app.sociocs.com -> Bulk messaging -> History.
#
Method
POST
#
Path
/messages/bulk
#
Body parameters
#
Response
#
HTTP status codes
#
Response object
#
Code sample
curl --location --request POST 'https://api.sociocs.com/messages/bulk' \
--header 'apikey: your_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"provider": "twlo",
"channel_key": "your_channel_key",
"recipients": [
{
"to": "phone_number_1",
"name": "recipient_name_1"
},
{
"to": "phone_number_2",
"name": "recipient_name_2"
}
],
"text": "message",
"schedule: "2023-12-25T11:00:00-04:00"
}'