latest gadget news
sms announcement Website Message: We have improved and made some changes in the API of the website. Please let us know if there are any feedbacks.
Regards,
Team- SendSMS.pk

Send Free SMS From Your Website Using This SMS API

Click here to get your SECRET SMS API KEY.


What is this API?
This API (Applicaton Programmer Interface) will provide you a simple and easy interface (with php sdk) with which you can send and receive sms in your own websites, web applications and desktop applications. You can retrieve sms in your inbox and outbox with the help of this API and you can also send sms with it. Please download the API and start using it to know more ...

API SDK

Please click here to download the sample php sdk which can help you in making sms web applications

The API is available in json for now. It can also be used with javascript, but I have not yet provided an official code for javascript. The url for API is http://api.sendsms.pk and the functions can be called like this:
http://api.sendsms.pk/isValid/YOUR-SECRET-API-KEY.json Accepts the API key and tells if it is valid or not.
http://api.sendsms.pk/auth/YOUR-SECRET-API-KEY.json Accepts two parameters by HTTP POST request (username = registered username, password = password of the user) and tells the API key.
http://api.sendsms.pk/newmsg/YOUR-SECRET-API-KEY.json Shows the latest new unread message in the inbox of the user.
http://api.sendsms.pk/inbox/YOUR-SECRET-API-KEY.json Gives the inbox of the user.
http://api.sendsms.pk/outbox/YOUR-SECRET-API-KEY.json Gives the outbox of the user.
http://api.sendsms.pk/sendsms/YOUR-SECRET-API-KEY.json Accepts three parameters by HTTP POST request (phone = phone number to which the sms will be sent, msg = message, type = 0 for regular and 1 for flash sms) to send sms.
Please contact me if you have any queries. The sms sent using your API KEY will deduct sms from your account.
If you wish to buy premium API (NO ADVERTISEMENT OF SENDSMS.PK) please click here.