Are you a programmer? It is simple to integrate with our bulk SMS service. Simply follow the instructions below.Thank you for your interest in our services and for sharing your needs with us. To complete your system integration, please see the API for promotional and transactional bulk SMS below. Please review the details (on the table) and provide us with your useful feedback.
| Field | Description |
|---|---|
| username | User ID provided |
| password | Password provided |
| thread_text | Test Message |
| thread_recievers | 25471238xxxx (12 digit mobile number comma separated for multiple numbers) |
| sender | Sender ID provided |
| coding | Values are (1 or 2) 1 for English and 2 for Non-English |
| sms_type | Trans or promo |
Send Transactional (English/Unicode) SMS *
* NB: Number should be with 254
https://bsms.smsairworks.com/smsnew/HTTP/?username=XXXXX&password=XXXXXX&thread_text=XXXXXXXXXXXX&thread_recievers=XXXXXXXXX&sender=XXXXX&coding=XX&sms_type=trans
Php code sample *
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://bsms.smsairworks.com/smsnew/HTTP/?username=XXXXX&password=XXXXXX&thread_text=XXXXXXXXXXXX&thread_recievers=XXXXXXXXX&sender=XXXXX&coding=XX&sms_type=trans',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Python code sample *
url = "https://bsms.smsairworks.com/smsnew/HTTP/?username=XXXXX&password=XXXXXX&thread_text=XXXXXXXXXXXX&thread_recievers=XXXXXXXXX&sender=XXXXX&coding=XX&sms_type=trans"
payload={}
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
url = "https://bsms.smsairworks.com/smsnew/HTTP/?username=XXXXX&password=XXXXXX&thread_text=XXXXXXXXXXXX&thread_recievers=XXXXXXXXX&sender=XXXXX&coding=XX&sms_type=trans"
payload={}
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
Questions?
If you have any partner inquiries or would like to learn more about the partner program, get in touch with us.