Send Bulk SMS (GET)
Send bulk SMS messages using the GET method with encoded message parameters. This method allows sending different messages to different recipients in a single request.
curl -X GET "https://accounts.netvox.ng/api/v2/SendBulkSMS?ApiKey=YOUR_API_KEY&ClientId=YOUR_CLIENT_ID&SenderId=YOUR_SENDER_ID&MobileNumber_Message=1234567890%5EHello%20John%7E0987654321%5EHello%20Jane&Is_Unicode=false&Is_Flash=false"
Parameters
Your API key for authentication
Your client identifier for authentication
Approved sender ID for the messages
Encoded bulk message parameter (see format below)
Set to true for Unicode messages (default: false)
Set to true for flash messages (default: false)
Schedule time in yyyy-MM-dd HH:MM format (optional)
The MobileNumber_Message parameter uses a specific format:
{phone1}^{message1}~{phone2}^{message2}~{phone3}^{message3}
- Use
^ to separate phone number from message
- Use
~ to separate different phone/message pairs
- URL encode the entire parameter
Example
1234567890^Hello John~0987654321^Hello Jane~5555555555^Hello Bob
URL Encoded Example
1234567890%5EHello%20John%7E0987654321%5EHello%20Jane%7E5555555555%5EHello%20Bob
Response
Error code (0 for success)
Description of the result
Mobile number that received the message
Unique message ID for tracking
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": [
{
"MobileNumber": "7894561230",
"MessageId": "fc103131-5931-4530-ba8e-aa223c769536"
},
{
"MobileNumber": "7894561231",
"MessageId": "f893293d-d6ea-45e8-b543-40f0df28e0c9"
}
]
}
Encoding Examples
JavaScript
const messages = [
{ phone: "1234567890", message: "Hello John" },
{ phone: "0987654321", message: "Hello Jane" }
];
const bulkMessage = messages
.map(m => `${m.phone}^${m.message}`)
.join('~');
const encoded = encodeURIComponent(bulkMessage);
Python
messages = [
{"phone": "1234567890", "message": "Hello John"},
{"phone": "0987654321", "message": "Hello Jane"}
]
bulk_message = "~".join([f"{m['phone']}^{m['message']}" for m in messages])
encoded = quote(bulk_message)
Use Cases
- Personalized bulk messaging: Send different messages to different recipients
- Marketing campaigns: Send targeted messages to customer segments
- Notifications: Send different notification types to different users
- Appointment reminders: Send personalized reminders with different details