API
Insert URL status by SMS
URL intended to receive the status of your outgoing SMS
URL: YOUR_CALLBACK_URL
YOUR_CALLBACK_URL contents should be like this
Example using PHP $message =json_decode($_GET["status"]); $obj=array(); $page=dirname(__FILE__).'/status.json'; if (file_exists($page)) { $file = file_get_contents($page); $res=json_decode($file); if(is_array($res)) $obj = $res; } $fh = fopen($page, 'w') or die ("can't open file"); array_push($obj,$message); fwrite($fh, json_encode($obj)); fclose($fh);
Sample response
In case Of success
A JSON file named status.json is created in the same workspace as you YOUR_CALLBACK_URL { "user":"SMS_SENDER", "adress":"YOUR_ADRESS", "status":"sms_receive", "date_status":"2019-08-09T12:50:54.211Z", "id_sms":"5d4d6c1d22d52f1bd44de18a" }