SMS API GATEWAY MANUAL

Integrate our SMS gateway into your website in a smooth and hassle-free process using our developer-friendly detailed manual

SEND SMS API ENDPOINT URL

https://bulk-sms-core.azurewebsites.net
/SmsSender/SendMessage

Request Body

{
  "securityId": "Your API Security Id",
  "securityValue": "Your API Security Key Value",
  "messageTo": "SMS Receiver phone number",
  "message": "Your Message",
  "chargeType": (int) chargeId of your purchased package 
}
Data / Parameters Description / Instructions Values / Examples
securityId Your API Security Id Login To Know Your Security ID
securityValue Your API Security Key Value Login To Know Your Security Value
messageTo Mobile Number of SMS receiver. One Request body can have one receiver number. Valid Phone Number formats: 017XXXXXXXX & 88018XXXXXXXX & +88019XXXXXXXX
message Your SMS body.
N.B: If your SMS body contains Bangla(Unicode) character, 1 SMS cost will be charged for every 70 characters.
If your SMS body contains only English Text, 1 SMS cost will be charged for every 160 character.
chargeType chargeId of the purchased package you want to be charged from Login To Know Your chargeId
PHP Source Code Format:
      
    $url = "https://bulk-sms-core.azurewebsites.net/SmsSender/SendMessage";

    $securityId = '';
    $securityValue = '';
    $messageTo =  '01234567890';
    $message = 'This is a text message';

    $chargeType = ; //integer value

    $data = array(
        "securityId" => $securityId,
        "securityValue" =>  $securityValue,
        "messageTo" => $messageTo,
        "message" => $message,
        "chargeType" => $chargeType
    );

    $jsonData = json_encode($data);

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonData);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

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

    return $response;