Bulk SMS
POST
Send thousands of messages in a single API request. Supports both Broadcast and Batch modes.
Endpoint
https://sms-api.paulinasource.com/v1/sms/bulk
Mode 1: Broadcast
Use this when you want to send the same message to multiple recipients.
| Field | Type | Description |
|---|---|---|
| recipients | string[] | Array of phone numbers. |
| message | string | The common message text. |
JSON Payload
{
"projectId": "proj_123",
"recipients": ["+25884111", "+25884222"],
"message": "Flash Sale! 50% OFF."
}
Mode 2: Batch
Use this when you want to send unique messages to each recipient in a single request.
| Field | Type | Description |
|---|---|---|
| messages | object[] | Array of objects containing to and message. |
JSON Payload
{
"projectId": "proj_123",
"messages": [
{ "to": "+25884111", "message": "Hi John" },
{ "to": "+25884222", "message": "Hi Mary" }
]
}