Spice Webs >> Web Hosting >> Bulk SMS Services - Developers API - Integration KB
Spice Web Services is one of the india's leading and growing bulk sms provider and aggregator based on India having physical presence in major cities. With our Premium SMS gateway, you can now design, build, host and operate your own SMS applications!
Format of HTTP API Call for Single Recipient would be:
http://smartsms.spice2host.com/pushsms.php?username=spicewebs&password=your_password&sender=test&to=9895***&message=Hello&priority=2
http://smartsms.spice2host.com/pushsms.php?username=spicewebs&password=your_password&sender=test&to=9895***&message=Hello&priority=2
Format of HTTP API Call for Multiple Recipients would be:
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password
&sender=test&to=9895******,9895******,9895******&message=Hello&priority=2
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password
&sender=test&to=9895******,9895******,9895******&message=Hello&priority=2
A sample HTTP API Call for Single Recipient with Scheduling (4th January 2009 at 3:30 PM)
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid&to=myrecipient&message=Hello&shtime=04-01-2009-15-30&priority=route
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid&to=myrecipient&message=Hello&shtime=04-01-2009-15-30&priority=route
A sample HTTP API Call for Sending UNICODE message would be:
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid &to=myrecipient1,myrecipient2,myrecipient3&message=unicode message&unicode=1
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid &to=myrecipient1,myrecipient2,myrecipient3&message=unicode message&unicode=1
A sample HTTP API Call for Sending FLASH message would be:
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid &to=myrecipient1,myrecipient2,myrecipient3&message=message&flash=1
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid &to=myrecipient1,myrecipient2,myrecipient3&message=message&flash=1
A sample HTTP API Call for Picture Messagese:
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid &to=myrecipient&message=message&picture=1
smartsms.spice2host.com/pushsms.php?username=spicewebs&api_password=your_api_password &sender=mysenderid &to=myrecipient&message=message&picture=1
To fetch Single DLR
smartsms.spice2host.com/fetchdlr.php?username=your_username&msgid=message_id
smartsms.spice2host.com/fetchdlr.php?username=your_username&msgid=message_id
A sample HTTP API Call for Normal Balance Check:
smartsms.spice2host.com/balancecheck.php?username=spicewebs&api_password=your_api_password
smartsms.spice2host.com/balancecheck.php?username=spicewebs&api_password=your_api_password
Format of HTTP API Call to delete scheduled messages:
smartsms.spice2host.com/apis/deleteschedule.php?username=spicewebs&api_password=your_api_password&msgid=your_messageid
smartsms.spice2host.com/apis/deleteschedule.php?username=spicewebs&api_password=your_api_password&msgid=your_messageid