Developer's API

Receiving SMS
SMS API Response

Our SMS API responds to all queries in JSON encoded. You have to JSON decode the API response to get the actuall result.

Returned Parameters

Our API Responds with following parameter against sms receiving call in array.

Parameter Name Type Description
code Numeric String Response Code
message String Response Details


$jsonarray=json_decode($response, true);
$count = count($jsonarray);
$code="$jsonarray[code]"; //Response code of the API
foreach($jsonarray as $value)
if (--$count <= 0)
echo "Message Text:";
echo $value['message_text']; //Text of the message which was sent
echo "- Message Date:";
echo $value['message_datetime']; //Date when message sent
echo "- Message From:";
echo $value['message_from']; //Number whom sents you message
echo "
echo "Error in Fetching Data";
More Samples Available Here