id of Routomessaging gateway in Icewarp SMS/General admin // pass=1 ==> password defined in Icewarp SMS/General admin $url = 'number=' . urlencode($_REQUEST['org']) . '&id=1' . '&pass=1' . '&data=' . urlencode($_REQUEST['message']); // Deliver SMS to IceWarp $api = new IceWarpAPI(); $result = $api->SMSIncoming($url); // Result if (!$result) { header('HTTP/1.1 503 Service Unavailable'); } ?>