We offer the simple, most reliable, flexible and easily adaptable XML API. This document provides a reference for all features available to you via the XML interface for sending SMS.
XML API For Sending Single SMS
* In the password field either account password or api_password can be used.
$data="<?xml version='1.0' encoding='utf-8'?> $data=urlencode($data); http://sms.foosms.com/xmlapi.php?data=$data |
XML API For Sending Multiple SMS
$data="<?xml version='1.0' encoding='utf-8'?> $data=urlencode($data); http://sms.foosms.com/xmlapi.php?data=$data *To get xml output use the parameter xmloutput=1 eg:- http://sms.foosms.com/xmlapi.php?data=$data&xmloutput=1 |
* Use attribute PRIORITY in Element
* Use attribute MESGTYPE='0' for Normal Text Messge, MESGTYPE='1' for Unicode and MESGTYPE='2' for Flash in Element
* eg: <SMS TEXT='Hi, this is a test message.' MESGTYPE='0' SENDER='TEST' PRIORITY='1' >
* Use ' to use single quotes
API to fetch DLR Status
To fetch Single DLR http://sms.foosms.com/fetchdlr.php?username=your_username&msgid=message_id To fetch Multiple DLR's http://sms.foosms.com/fetchdlr.php?username=your_username&msgid=message_id1,message_id2,message_id3 *To get xml output use the parameter xmloutput=1 http://sms.foosms.com/fetchdlr.php?username=your_username&msgid=message_id&xmloutput=1 |