With the Bulk SMS API, you can integrate your systems to automatically leverage on the instant delivery of SMS to generate receipts, alerts and relevant communications to your clients and customers.
{
"apikey":"123456789",
"partnerID":"123",
"message":"this is a test message",
"shortcode":"SENDERID",
"mobile":"254712345678"
}
{
"responses": [
{
"respose-code": 200,
"response-description": "Success",
"mobile": 254712345678,
"messageid": 8290842,
"networkid": "1"
}
]
}
For messages to be sent at a future time, you will need to pass an optional parameter timeToSend with a valid date string that resolves to a Unix timestamp or the unix timestamp itself.
{
"apikey":"123456789",
"partnerID":"123",
"message":"this is a test message",
"shortcode":"SENDERID",
"mobile":"254712345678",
"timeToSend":"2019-09-01 18:00"
}
You can now send up to 20 bulk messages in one single call by using the our newest API endpoint:
API URL ENDPOINT: : https://quicksms.advantasms.com/api/services/sendbulk/
{
"count": 3,
"smslist": [
{
"partnerID": "12345",
"apikey": "6565b5a73b8221",
"pass_type": "plain",
"clientsmsid": 1234,
"mobile": "0733123456",
"message": "This is a test message 1",
"shortcode": "Advanta"
},
{
"partnerID": "12346",
"apikey": "75465b5a73b8221",
"mobile": "0711123456",
"clientsmsid": 1235,
"message": "This is a test message 3",
"shortcode": "Advanta",
"pass_type": "plain"
},
{
"partnerID": "123457",
"apikey": "sw23454t2xd24",
"mobile": "0755123456",
"clientsmsid": 1236,
"message": "This is a test message 2",
"shortcode": "Advanta",
"pass_type": "plain"
}
]
}
{
"responses": [
{
"respose-code": 200,
"response-description": "Success",
"mobile": "254733123456",
"messageid": 75085465,
"clientsmsid": "1234",
"networkid": "2"
},
{
"respose-code": 200,
"response-description": "Success",
"mobile": "254711123456",
"messageid": 75085466,
"clientsmsid": "1235",
"networkid": "1"
},
{
"respose-code": 1006,
"response-description": "Invalid credentials",
"mobile": "0755123456",
"partnerID": "1",
"shortcode": null,
"clientsmsid": "1236"
}
]
}
ENDPOINT URL: https://quicksms.advantasms.com/api/services/getdlr/
{
"apikey":"123456789",
"partnerID":"123",
"messageID":"123456789"
}
ENDPOINT URL: https://quicksms.advantasms.com/api/services/getbalance/
{
"apikey":"123456789",
"partnerID":"123"
}