Dear Clients! for best customer support dial our customer care helpline number : 0304-111-8003

Bulk SMS [POST] Request

Use POST methos if you have to send message to large list of mobile numbers, its support 100000+ Numbers with single request.

Base URL :

Perameter Required Description
apikey Yes User API Key Get from your account Dashboard
phone Yes Recipient's Mobile number
sender Yes Registered Mask Name (Sender ID)
message yes Text Message content

PHP Code Sample :

$api    =   'AbCdEfGhIJkLmNoPqRsTuVwXyZ';            //  Hajana One account API
$number =   923001234567,923211234567,923451234567;  //  Comma Seperated Mobile Numbers Maximum 100000
$mask   =   'SmartSMS';                              //  Registered Mask Name
$text   =   'This is Test SMS';                      //  Message Content

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close ($ch);

if (preg_match( "/successfully/", $result )){
    echo 'Messages successfully Sent.';
    echo 'Messages Sending Failed.';