Check Allowed Destinations

This Call allows Auto Booking can be used for a variety of uses, including appointment reminders and restaurant bookings etc.


http:// or https://


Required Parameters

uid: System allocated username for API user configured within the Portal in ‘Send SMS>API Management’
pass: System password for API user configured within the Portal in ‘Send SMS>API Management’
dest: Format: 447700900000 (where 44 is country code e.g. 44 is UK). Multiple destinations can be separated with commas e.g. 447700900000,447700777888. When numbers presented are not in the correct country code format, use the ‘cc’ parameter to correct the country code formatting
format: Return format requested: XML, JSON or PHP data.

Checking destinations without any query parameter


  case "GET":
    $uid = htmlspecialchars($_GET["uid"]);
    $pass = htmlspecialchars($_GET["pass"]);
    $dest = htmlspecialchars($_GET["dest"]);
    $format = htmlspecialchars($_GET["format"]);
  case "POST":
    $uid = htmlspecialchars($_POST["uid"]);
    $pass = htmlspecialchars($_POST["pass"]);
    $dest = htmlspecialchars($_POST["dest"]);
    $format = htmlspecialchars($_POST["format"]);
$url = ''.$uid.'&pass='.$pass.'&dest='.$dest
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
// Download the given URL, and return output
$output = curl_exec($ch);
echo $output."   ".curl_error($ch);
// Close the cURL resource, and free system resources


   <resultText>You are permitted to send SMS to this destination number but we can not
   confirm it is an active number</resultText>