BulkSMS API allows application developer to integrate on their application and send the sms to all the numbers at one shot without login to their sms
How to Integrate Bulk SMS API in Php Application?
Bulk SMS API allows application developer to integrate on their application and send the sms to all the numbers at one shot without login to their sms panel. Anyone can integrate the Bulk SMS API into their applications, software, website, etc.,
Through API we can able to check the Status of the sent messages, Delivery report, and group delivery report. We can able to send the Unicode messaging also.
Once we integrate the Bulk SMS API in any of the application, the application trigger the HTTP API call with all the parameters when on required. The required parameters like SMS Service URL, User Name, Password, Mobile Number, Message, etc.. As soon as call the HTTP API, the api along with all the parameters will be send to SMS Gateway Server and the SMS Gateway evaluate all the parameters and automatically the message will deliver to the given number without login to the SMS panel itself.
<?php>
2. 1. Wake Up Early
Bulk SMS API allows application developer to integrate on their application and send
the sms to all the numbers at one shot without login to their sms panel. Anyone can
integrate the Bulk SMS API into their applications, software, website, etc.,
Through API we can able to check the Status of the sent messages, Delivery report, and
group delivery report. We can able to send the Unicode messaging also.
How to Integrate Bulk SMS API in Php Application?
3. 1. Wake Up Early
How to Integrate Bulk SMS API in Php Application?
Once we integrate the Bulk SMS API in any of the application, the
application trigger the HTTP API call with all the parameters when on
required. The required parameters like SMS Service URL, User Name,
Password, Mobile Number, Message, etc.. As soon as call the HTTP API,
the api along with all the parameters will be send to SMS Gateway
Server and the SMS Gateway evaluate all the parameters and
automatically the message will deliver to the given number without
login to the SMS panel itself.
4. 1. Wake Up Early
How to Integrate Bulk SMS API in Php Application?
<?php
$domain = "203.129.203.254";// IP Address
$uname = “xxxxx";
$pwd = “yyyyyy";
$to = "9999000000";//reciever 10 digit number (use comma (,) for
multiple users. eg: 9999999999,8888888888,7777777777)
$sms = "test sms";//sms content
$sender = "060000";// sender id. this may be a number
// set parameters the API for sending sms
$parameters="username=$uname&pass=$pwd&senderid=$sender&message=$s
ms&dest_mobileno=$to&response=Y";
// call the Api
$fp = fopen("http://203.129.203.254/sms/user/urlsms.php?$parameters", "r");
$response = stream_get_contents($fp); // get response of API call
echo "Success : ".$response; exit; // if response is a number...........
// this was the message id returned. save it for delivery report. You can use your
own logic and functions for your requirement.
?>