Skip to content

Bulk SMS

POST /api/v1/sms/bulk
FieldTypeRequiredDescription
tostring[]Array of recipient phone numbers in E.164 format
bodystringMessage content
fromstringSender ID
campaignNamestringLabel this send as a named campaign
scheduledAtISO 8601 stringSchedule the bulk send for a future time
Terminal window
curl https://send.virgincareer.lk/api/v1/sms/bulk \
-H "Authorization: Bearer sk_your_key" \
-H "Content-Type: application/json" \
-d '{
"to": ["+94771234567", "+94779876543", "+94712345678"],
"body": "Flash sale! 30% off everything this weekend.",
"from": "MYSTORE",
"campaignName": "Weekend Sale March 2026"
}'
{
"campaignId": "a1b2c3d4-...",
"totalCount": 3,
"sentCount": 3,
"failedCount": 0
}
  • Maximum 10,000 recipients per bulk request
  • Messages are sent in batches of 50 to respect provider rate limits
  • Credits are deducted upfront for the full batch