Skip to content

Bulk SMS Messaging ​

Broadcast SMS campaigns to hundreds or thousands of recipients in a single API call.

Send Bulk SMS ​

POST /api/v1/sms/bulk

Parameters ​

ParameterTypeRequiredDescription
recipientsarray or stringYesArray of numbers ["01700...", "01800..."] or comma/newline separated string
messagestringYesSMS message body
typestringNoMessage category tag (e.g. campaign)

Example Request ​

bash
curl -X POST "https://pingoline.com/api/v1/sms/bulk" \
  -H "Authorization: Bearer YOUR_API_TOKEN_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "recipients": ["01712345678", "01812345678", "01912345678"],
    "message": "Special 20% discount on all orders this weekend! Shop now."
  }'
php
use PingoLine\Laravel\Facades\PingoLine;

$res = PingoLine::sendBulkSms(
    recipients: ['01712345678', '01812345678', '01912345678'],
    message: 'Special 20% discount on all orders this weekend! Shop now.'
);
typescript
import { PingoLine } from 'pingoline';

const pingoline = new PingoLine({ apiKey: process.env.PINGOLINE_API_KEY! });

const res = await pingoline.sendBulkSms({
  recipients: ['01712345678', '01812345678', '01912345678'],
  message: 'Special 20% discount on all orders this weekend! Shop now.',
});

Released under the MIT License.