sms.sms2india.info HTTP API
Sending single/Multiple Text message(s)
The post either via GET or POST needs to be
done on
http://sms.sms2india.info/sendsmsv2.asp
The variables to be used are:
| user |
Your username on the website |
| password |
Your password on the website |
| sender |
Alphanumeric/Number SenderID from your approved list of
SenderID's to be used for GSM Recipients |
[Not Required]
sendercdma |
[Not Required any more]
Number SenderID from your approved list of SenderID's to be used for CDMA
Recipients |
| PhoneNumber |
Mobile number of the recipients. for multiple recipients
enter numbers seperated by comma. |
group
(optional) |
The name of the group you wish to send message to.
Groups can be created and managed on the website. |
| text |
The text of the message.
Charged 1 unit for 160 characters per recipient. |
| flash |
1 - If the message should flash directly on the screen
0 - For standard SMS (Optional)
Please check if the gateway supports Flash SMS. |
| unicode |
1 - if the message has unicode characters. 70 Unicode characters
make 1 sms.
0 - For standard SMS (Optional)
Please check if the gateway supports unicode SMS. |
| track |
1 - if you wish to Track the delivery status of the message.
(Optional)
Please check if the gateway supports Delivery Reports |
A sample post to send sms would be like
Simple Text Messages
http://sms.sms2india.info/sendsmsv2.asp?user=username&password=mypassword
&sender=Internet&sendercdma=919860609000&text=This+is+a+sample+sms&PhoneNumber=919822012345,919370119223&track=1
Output
Message Submitted
Credits Consumed: 2
Balance Credits: 98
Mobile=919822012345 MsgId=1177855328
Mobile=919370119223 MsgId=1177855329
Maximum of 1000 numbers are recommended in a single post.
Rest of the features are applicable as per the API v1.0 given below.
OLD API v 1.0
Sending single/Multiple Text message(s)
http://sms.sms2india.info/sendsms.asp
The variables to be used
are:
| user |
Your username on the website |
| password |
Your password on the website |
| sender |
Alphanumeric/Number SenderID from your approved list of
SenderID's. |
| PhoneNumber |
Mobile number of the recipients. for multiple recipients
enter numbers seperated by comma. |
group
(optional) |
The name of the group you wish to send message to.
Groups can be created and managed on the website. |
| text |
The text of the message.
Charged 1 unit for 160 characters per recipient. |
| unicode |
1 - if the message has unicode characters. 70 Unicode characters
make 1 sms.
0 - For standard SMS (Optional)
Please check if the gateway supports unicode SMS. |
| track |
1 - if you wish to Track the delivery status of the message.
(Optional)
Please check if the gateway supports Delivery Reports |
A sample post
to send sms would be like
Sample URL call for sending a Text Message
http://sms.sms2india.info/sendsms.asp?user=username&password=mypassword
&sender=Internet&_
text=This+is+a+sample+sms&PhoneNumber=919822012345&track=1
Output
Message Submitted
Credits Consumed: 1
Balance Credits: 989
Mobile=919822012345 MsgId=1177855328
Scheduling messages for future delivery
The post either via GET or POST needs to be done on
http://sms.sms2india.info/schedulesms.asp
The variables to be used are:
| user |
Your username on the website |
| password |
Your password on the website |
| sender |
Alphanumeric/Number SenderID from your approved list of
SenderID's to be used for GSM Recipients |
[Not Required]
sendercdma |
[Not Required any more]
Number SenderID from your approved list of SenderID's to be used for CDMA
Recipients |
| PhoneNumber |
Mobile number of the recipients. for multiple recipients
enter numbers seperated by comma. |
group
(optional) |
The name of the group you wish to send message to.
Groups can be created and managed on the website. |
| text |
The text of the message.
Charged 1 unit for 160 characters per recipient. |
| day |
The day of the scheduled delivery of the message. |
| month |
The month of the scheduled delivery of the message. |
| year |
The year of the scheduled delivery of the message. |
| hour |
The hour format [in 24 hours] for the delivery time of
the message. |
| minute |
The minute of the delivery time of the message. |
| track |
1 - if you wish to Track the scheduled sms. (For checking
status or cancelling) |
Sample URL Call for scheduling a message
http://sms.sms2india.info/schedulesms.asp?user=username&password=mypassword
&sender=Internet&_
text=Wish+you+happy+new+year!&PhoneNumber=919822012345&day=01&month=01&year=2012&hour=00&minute=01
Output:
Message Scheduled
Credits Consumed: 1
Balance Credits: 9989
Sample URL Call for scheduling a message with tracking.
http://sms.sms2india.info/schedulesms.asp?user=username&password=mypassword
&sender=Internet&_
text=Wish+you+happy+new+year!&PhoneNumber=919822012345&day=01&month=01&year=2012&hour=00&minute=01&track=1
Message Scheduled
Credits Consumed: 1
Balance Credits: 9988
BlockID: 184758
Cancelling Scheduled SMS Delivery
The post either via GET or POST needs to be done on the below url with the
required parameters.
http://sms.sms2india.info/cancelschedulesms.asp?user=&password=&blockid=
The blockId which is obtained when scheduling sms via API needs to be used in
above URL call for cancelling the same.
Delivery Status of SMS (v2.0)
This feature is only available if your account has Delivery Reports Enabled. You
can use this API to get reports of upto 500 messages in a single post.
You can get the exact delivery status of your message you submitted in the
following format
http://sms.sms2india.info/smsstatusv2.asp?dtstamp=yymmdd&msgid1=xxxxxxxxxx&recp1=xxxxxxxxxxxx&msgid2=xxxxxxxxxx&recp2=xxxxxxxxxxxx
[upto 500]
e.g.:
http://sms.sms2india.info/smsstatusv2.asp?dtstamp=110115&msgid1=1177855328&recp1=919811012345&msgid2=1177855329&recp2=919811012346&msgid3=1177855330&recp3=919811012347
Sample Output
919811012345,DLVRED 12:30,919811012346,DLVRED
12:30,919811012347,DLVRED 12:30
Delivery Status of SMS (v1.0)
This feature is only available if your account has Delivery Reports Enabled.
You can get the exact delivery status of your message you submitted in the
following format
http://sms.sms2india.info/smsstatus.asp?dtstamp=yymmdd&msgid=xxxxxxxxxx&recp=xxxxxxxxxxxx
e.g.:
http://sms.sms2india.info/smsstatus.asp?dtstamp=110830&recp=919822012345&MsgId=08301477230
Sample Output
DELIVRD 19:35 SUBMITTED: 19:35
Check user Balance
http://sms.sms2india.info/balance.asp?user=username&password=password
Flash SMS
To send a flash SMS include &flash=1 in the URL above.
http://sms.sms2india.info/sendsms.asp?user=username&password=mypasswoed&senderidd=1&text=Test&_
PhoneNumber=91822012345&flash=1
Blink SMS
To send a blink SMS include %01 before and after the text(after encoding the
string in URL format) that is supposed to blink in the SMS text body. Message
length of a blink SMS is 70 chars only.
http://sms.sms2india.info/sendsms.asp?user=xyz&password=mypasswoed&sender=Sample&text=Test_
%01blink sms%01&PhoneNumber=91822012345&flash=1
A Blink SMS technically was considered a bug in some versions of Nokia handsets.
Many newer Nokia handsets have been introduced which correct this "bug".
WAP Push
WAP Push is a SMS within the header of which is included a link to a WAP address.
On receiving a WAP Push, the compatible mobile handset automatically gives the
user the option to access the WAP content on his handset. The WAP Push directs
the end-user to a WAP address where content is stored ready for viewing or downloading
onto the handset. This wap address may be a page or a WAP site.
To send a WAP Push SMS include &wapurl=http://wapurl
http://sms.sms2india.info/sendsms.asp?user=username&password=mypasswoed&sender=Sample&text=Test&_
PhoneNumber=91822012345&wapurl=http://sample.com
We provide sample source codes in ASP / ASP.net / PHP / VB to submit messages
using simple function calls. Please Contact Us to
obtain the sample source code.
You can just open this URL in your own application to send SMS from within your
application.
You can just open this URL in your own application to send SMS from within your
application.
If you need any support write to us @
-- *** FOOTER BEGINS HERE *** -->