LiveZilla Live Help

Developers API

Developers API

API stands for Application Programming Integration which is widely used to integrate and enable interaction with other software, much in the same way as a user interface facilitates interaction between humans and computers. Our API codes can be easily integrated to any web application or software application.

Integrating API with your webpage enables you to send SMS from your web pages.

Integrating API with your Desktop application enables you to send SMS from your Desktop Application

The API works on GET and POST METHOD, and the url to be used is http://my.yolike.com/pushsms.php

The variables to be used are:
username  your_username
password your_password
sender Alphanumeric/Number SenderID for GSM Recipients
to Recipient Number (one at a time)
message Actual Message to be sent

A sample HTTP API Call for Single Recipient would be: (Normal Route)

http://my.yolike.com/pushsms.php?username=your_username
&password=your_password&sender=mysenderid&to=myrecipient&message=Hello

A sample HTTP API Call for Single Recipient with Scheduling (4th January 2009 at 3:30 PM) would be: (Normal Route)

http://my.yolike.com/pushsms.php?username=your_username&password=your_password &sender=mysenderid&to=myrecipient&message=Hello&shtime=04-01-2009-15-30

A sample HTTP API Call for Multiple Recipients would be: (Normal Route)

http://my.yolike.com/pushsms.php?username=your_username &password=your_password&sender=mysenderid &to=myrecipient1,myrecipient2,myrecipient3&message=Hello

A sample HTTP API Call for Single Recipient would be: (Priority Route)

http://my.yolike.com/pushsms.php?username=your_username&password=your_password &sender=mysenderid&to=myrecipient&message=Hello&priority=2

A sample HTTP API Call for Multiple Recipients would be: (Priority Route)

http://my.yolike.com/pushsms.php?username=your_username &password=your_password&sender=mysenderid& to=myrecipient1,myrecipient2,myrecipient3&message=Hello&priority=2

A sample HTTP API Call for Sending UNICODE message would be:

http://my.yolike.com/pushsms.php?username=your_username &password=your_password&sender=mysenderid&to=myrecipient1,myrecipient2, myrecipient3&message=unicode message&unicode=1

A sample HTTP API Call for Sending FLASH message would be:

http://my.yolike.com/pushsms.php?username=your_username &password=your_password&sender=mysenderid&to=myrecipient1,myrecipient2, myrecipient3&message=message&flash=1

A sample HTTP API Call for Picture Messages:

http://my.yolike.com/pushsms.php?username=your_username &password=your_password&sender=mysenderid&to=myrecipient &message=message&picture=1

Message would the hexcode of otb file (You should convert normal image file to otb file).

Example:

http://my.yolike.com/pushsms.php?username=username&password=password&sender=sender&to=mobile_number &message= 3000000002010000481c010000000000000000 0000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000 00000000000000000000000000000002200e0000000000008ee006 0007e0000001866046000130001001844 0c40001300030038441e4c30320c678028440cdc583c168300484408ec902 224c2007c4408c9e02378e2008 ccc18d980236066010cee1c9d90666527039ecc1998e0fc38c600000000000 0000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000 0000&picture=1

The reply will be a message id, separated by comma.


Other API’s

To fetch DLR use (Only one recipient DLR at a time):

http://my.yolike.com/fetchdlr.php?msgid=message_id

To fetch Multiple DLR's

http://my.yolike.com/fetchdlr.php?msgid=message_id1,message_id2,message_id3

A sample HTTP API Call for Balance Check:

http://my.yolike.com/balancecheck.php?username=your_username&password=your_password

A sample HTTP API Call to Request Sender id:

http://my.yolike.com/addsender.php?username=your_username&password=your_password&sender=your_sender&type=(gsm or cdma)

Example:

http://my.yolike.com/addsender.php?username=your_username&password=your_password&sender=mysender&type=gsm

A sample HTTP API Call to delete scheduled messages:

http://my.yolike.com/deleteshedule.php?username=your_username&password=your_password&msgid=MyId1,MyId2,MyId3 *MyId1,MyId2,MyId3.... are the message id's.

A sample HTTP API Call to get your Senderids:

http://my.yolike.com/getsenderids.php?username=your_username&password=your_password


Copyright © 2010 Yo2SMS.com | All Right Reserved.