Website Hosting Service in Bangladesh

Enterprise Hosting Solutions in Bangladesh

BD: +88 09613-250250 US: +1 786-766-8505
অতিরিক্ত চার্জ ছাড়া, রেগুলার কল রেটে কথা বলুন
Support Payment Options Office Locations

Bulk SMS API in Bangladesh

Make your applications SMS enabled with Alpha Net's Bulk SMS Gateway. Alpha SMS is an advanced bulk SMS service in Bangladesh. It provides powerful and easy to use SMS API for developers. Easy integration with Software Applications & Websites. You can also send SMS messages directly through simple Web Interface (Dashboard). Fast and easy to use SMS Gateway for School, Small Business SMS marketing, ISP & NGO in Bangladesh. Alpha SMS also offers API Integration with Corporate applications. For Bulk SMS Integration API sample or Trial Account, please call us +88 09613 250 250 or contact us online.

How to Send SMS Through API

Alpha SMS API can be used by both GET and POST Method.

At First, go to the below link & click "My account" menu ber then click in "User configuration" to Findout Hash token.

http://alphasms.biz

Then following below statement:

API URL: http://alphasms.biz/index.php?app=ws

Send SMS (Example)

Example GET Method:

http://alphasms.biz/index.php?app=ws&u=username&h=a45a02791b2fe2fedb078c39fd83637a&op=pv&to=01979547393&msg=test+only

When succeeded Server will returns OK status message in JSON format:

{'data':[{'status':'OK','error':'0','smslog_id':'30','queue':'afb5f34575e30ec4efe4471cf5d1bee4','to':'01979547393'}],'error_string':null}
  • PHP
  • C#
  • ASP.NET
  • ANDROID
  • VB.NET
   
 
    $username = "YourUserNameHere";
    $hash = "YourTokenCodeHere"; //generate token from the control panel
    $numbers = "017xxxxxxxx,018xxxxxxxx"; //Recipient Phone Number multiple number must be separated by comma
    $message = "Simple text message.";


    $params = array('app'=>'ws', 'u'=>$username, 'h'=>$hash, 'op'=>'pv', 'unicode'=>'1','to'=>$numbers, 'msg'=>$message);

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "http://alphasms.biz/index.php?".http_build_query($params, '', '&'));
    curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type:application/json", "Accept:application/json"));
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);

    $response = curl_exec($ch);
    curl_close ($ch);


API Parameters

Listed in the below table are api parameters for individual tasks.

Name Description
h Hash token, configured from User Configuration menu
u Username
op Operation or type of action (example: op=pv for Send SMS)
to Destination numbers, username or #groupcode, may use commas
nofooter Remove SMS footer
msg Message (+ or %20 for spaces, urlencode for non ascii chars)
schedule Schedule message delivery, format: YYYY-MM-DD hh:mm:ss
unicode Whether message unicode or not (1=unicode, 0=not unicode)

Help Line

+88 09613 250 250

Newsletter Subscription

Sign up for special offers and discounts