HTTP API
URL Parameter
https://manage.staticking.net/index.php/smsapi/
httpapi/?uname=username&
password=password&sender=
senderid&receiver=mobno&route=route
&msgtype=messagetype&sms=
test message
Api Description
uname : Username of your account
password : Password of your account
sender : Sender id ( Origin )
receiver : Destination numbers ( Comma separated ) eg : 99XXXXXXXX,98XXXXXXXX
route : Route you want to send SMS ( Promotional API - PA , Transaction API - TA , Promotional Senderid API - PSA )
msgtype : Message type ( Text - 1 , Flash - 2 , Unicode - 3)
sms : SMS Content ( Url encoded )
Bulk SMS API
URL Parameter
https://manage.staticking.net/index.php/
Bulksmsapi/httpapi
Api Description
uname : Username of your account
password : Password of your account
sender : Sender id ( Origin )
receiver : Destination numbers ( Comma separated ) eg : 99XXXXXXXX,98XXXXXXXX
route : Route you want to send SMS ( Promotional API - PA , Transaction API - TA , Promotional Senderid API - PSA )
msgtype : Message type ( Text - 1 , Flash - 2 , Unicode - 3)
sms : SMS Content ( Url encoded )
PHP code to Send Request
$param['uname'] = Username of your account;
$param['password'] = Password of your account;
$param['sender'] = Sender id;
$param['receiver'] = Destination numbers (Comma separated) eg : 99XXXXXXXX,98XXXXXXXX;
$param['route'] = Route you want to send SMS ( Promotional API - PA , Transaction API - TA , Promotional Senderid API - PSA );
$param['msgtype'] = Message type (Text - 1 , Flash - 2 , Unicode - 3);
$param['sms'] = SMS Content (Url encoded);
$parameters = http_build_query($param);
$url="https://manage.staticking.net/index.php/
Bulksmsapi/httpapi";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
curl_setopt($ch, CURLOPT_POSTFIELDS,$parameters);
$result = curl_exec($ch);
XML API
URL Parameter
https://manage.staticking.net/index.php/xmlapi/
smsapi/?uname=username&password=
password&sender=senderid&route=route
&msgtype=messagetype&xmlfile=https://xxx.
com/File_Name.xml
Api Description
uname : Username of your account
password : Password of your account
sender : Sender id ( Origin )
route : Route you want to send SMS ( Promotional API - PA , Transaction API - TA , Promotional Senderid API - PSA )
msgtype : Message type ( Text - 1 , Flash - 2 , Unicode - 3)
xmlfile : XML File Path (Including http or https)
XML FILE FORMAT
Mobile No 1
Message 1
Mobile No 2
Message 2
Credits API
URL Parameter
https://manage.staticking.net/index.php/creditsapi/
credits/?username=username&password=password
Api Description
username : Username of your account
password : Password of your account
Delivery API
URL Parameter
https://manage.staticking.net/index.php/deliveryapi/
smsdelivery/?username=username&password=password&smsid=
smsid
Api Description
smsid : ID of the Message
Username : Username of your account
Password : Password of your account