HTTP API

HTTP Api for single or multiple SMS :

Transactional Route API :

http://login.smsgatewayhub.com/smsapi/pushsms.aspx?user=yourUsername&pwd=yourPassword &to=9xxxxxxxxx,8xxxxxxxxx,7xxxxxxxxx&sid=WEBSMS&msg=test%20message&fl=0&gwid=2

Promotional Route API :

http://login.smsgatewayhub.com/smsapi/pushsms.aspx?user=yourUsername&pwd=yourPassword &to=9xxxxxxxxx,8xxxxxxxxx,7xxxxxxxxx&sid=WEBSMS&msg=test%20message&fl=0

user: Your login username.
pwd: Your login password.
to: Single mobile number or multiple mobile numbers separated by comma(10 digits or +91).
sid: Approved sender id(Only 6 characters).
msg: Your message content(Minimum 459 characters/3 messages).
Fl: if flash message then 1 or else 0
gwid: 2 (its for Transactions route.)
Note: Only 100 mobile numbers are allowed.

HTTP Api for single or multiple unicode SMS :

http://login.smsgatewayhub.com/smsapi/pushsms.aspx?user=abc&pwd=xyz&to=919898123456&sid=WEBSMS&msg=092a093009400915094d09370923002009380902092609470936&fl=0&dc=8

user: Your login username.
pwd: Your login password.
to: Single mobile number or multiple mobile numbers separated by comma(10 digits or +91).
sid: Approved sender id(Only 6 characters).
msg: Your message content(Minimum 459 characters/3 messages).
Fl: if flash message then 1 or else 0
gwid: 2 (its for Transactions route.)
* Only 100 mobile numbers are allowed.
Note :Before you send unicode message please convert unicode in to hex using below method.

public string ConvertUnicodeStringToHexString(string unicodeString)
{
        string hex = "";
        foreach (char c in unicodeString)
        {
                 int tmp = c;
                 hex += String.Format("{0:x4}", (uint)System.Convert.ToUInt32(tmp.ToString()));
        }
        return hex;
}

HTTP Api for delivery report :

http://login.smsgatewayhub.com/smsapi/checkdelivery.aspx?user=yourUserid&password=yourPassword&messageid=messageId

user: Your login username.
pwd: Your login password.
messageid: Received id after sending message, by using HTTP Api.

HTTP Api for Multiple Delivery Report :

http://login.smsgatewayhub.com/smsapi/mis.aspx?user=userid&password=pass&fromdate=mm/dd/yyyy&todate=mm/dd/yyyy

user: Your login username.
pwd: Your login password.
messageid:Received id after sending message, by using HTTP Api.

HTTP Api for Credit Balance :

http://login.smsgatewayhub.com/smsapi/CheckBalance.aspx?user=yourUserID&password=yourPassword&gwid=2

user: Your login username.
pwd: Your login password.
Gwid=2 (its for Transactions route.)

HTTP Api for Scheduled SMS :

http://login.smsgatewayhub.com/smsapi/pushsms.aspx?user=yourUserID&pwd=yourPassword&to=919898123456&sid=WEBSMS&msg=test%20message&fl=0&schedtime=2013/12/30 20:30:00 PM

user: Your login username.
pwd: Your login password.
to: Single mobile number or multiple mobile numbers separated by comma(Only 10 digits).
sid: Approved sender id(Only 6 characters).
message: Your message content(Maximum 459 characters/3 messages).
Gwid=2 (its for Transactions route.)
Date and Time Format :-

2013/12/30 20:30:00 PM
yyyy/mm/dd hh:mm:ss PM

HTTP Api for Group SMS :

http://login.smsgatewayhub.com/smsapi/pushsms.aspx?user=yourUserID&pwd=yourPassword&to=919898123456&sid=WEBSMS&msg=test%20message&fl=0&groupid=212

groupid = your group Id

user: Your login username.
pwd: Your login password.
to: Single mobile number or multiple mobile numbers separated by comma(Only 10 digits).
sid: Approved sender id(Only 6 characters).
message: Your message content(Maximum 459 characters/3 messages).
Gwid=2 (its for Transactions route.)
Note: Only 100 mobile numbers are allowed.
groupid = your group Id

© Copyright 2008-2015 SMSGATWAYHUB ™ Technologies Resoures Pvt Ltd.   |   DMCA.com Protection Status