HTTP Developer API For Sending SMS
Send SMS from any programming language like VB/ASP/VB.net/ASP.net/PHP
The post either via GET or POST needs to be
done on 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 (Make sure when you put this API into your code it must be in a single line as
we have put it in multiple lines to show it in screen without using horizontal scroll bar.)
Simple Text Messages
http://sms.sms2india.info/sendsms.asp?user=username&password=mypassword&sender=SNOWEBS& text=This+is+a+sample+sms&PhoneNumber=919822012345&track=1
Output
Message Submitted
Credits Consumed: 1
Balance Credits: 989
Mobile=919822012345 MsgId=1177855328
User Name: YOUR USERNAME with your user name with which you register with us.
PASSWORD: As per your password (On registration you will get password on your email id)
Sender: SNOWEBS [This will remain same till you buy any SMS package from us, after purchase of
SMS pack SNOWEBS can be changed to any Name (max. 11 characters), Fixed 919860609000 for CDMA Networks
Text: This is the message, which will be delivered. (max. 160 characters)
Phone Number: 91[any 10 digit mobile number]
Note: Program your application to use sender id as 919860609000 when sending SMS to Reliance CDMA Network (93 Series)
In order to use this, please create a Demo Account by Free registration process http://sms.sms2india.info/register.asp
Demo Account allows you to send 2 SMS for FREE!
Delivery Status of SMS
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?msgid=xxxxxxxxxx
e.g.:
http://sms.sms2india.info/smsstatus.asp?msgid=1177855328
Sample Output
DLVRED 12:30
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&sender=Snowebs&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=Snowebs&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=Snowebs&text=Test&
PhoneNumber=91822012345&wapurl=http://sample.com
Snowebs provide FREE sample source codes in ASP / ASP.net / PHP / VB to submit SMS
using simple function calls. Please Contact Us to
obtain the sample source code.
NOTE: Sample Source Codes are only given to the customers who have taken(purchased) SMS from us, kindly mention your "user id" in the email
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 at api @ snowebs.com
Quick Navigation
|