Website Hosting Service in Bangladesh

Enterprise Hosting Solutions in Bangladesh

Bulk SMS API in Bangladesh

SMS enable your software applications and websites with Alpha Net's Easy to use SMS Gateway API. OTP, Account Verifications, Notifications & Reminders are some ways applications could utilize SMS Gateway and API. Alpha SMS API provides a powerful and easy to send SMS Capability to your projects. Add  SMS functionality to School Management Software, Small Business SMS marketing, ISP, Corporates & NGO in Bangladesh. For a 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.

You can send SMS from your software or application by integrating Alpha SMS API. Just follow the code samples below to send SMS API from your applications. To obtain your API Key, please login to your SMS Panel & goto "My account" > "User configuration" you will get your api access token (Webservices token) here. Now you have to follow the instructions below.


Send SMS (Example)

Example GET Method:

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


SMS API Codes samples in popular languages.

We have included code samples for sending SMS in PHP, C#, ASP.Net, Android, VB.NET etc. Choose your choice of Language from the tabs below to view SMS API Code samples.

  • PHP
  • C#
  • VB.NET

GET Method

    $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', 'to'=>$numbers, 'msg'=>$message);

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "".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);

POST Method

    $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('u'=>$username, 'h'=>$hash, 'op'=>'pv', 'to'=>$numbers, 'msg'=>$message);

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
    $response = curl_exec($ch);
    curl_close ($ch);

SMS API Parameters

Listed in below are the API parameters available 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 (nofooter=1 will 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)


  • If you need help with selecting the right solution for your business, please call us at 09613-250250 within 8:30AM- 9:00PM or you can start a live chat. We are available 24/7 via live chat. 

Help Line

+88 09613 250 250

Newsletter Subscription

Sign up for special offers and discounts

Loading - Please wait . . .