<?php
$message = [
"secret" => "API_SECRET", // your API secret from (Tools -> API Keys) page
"mode" => "devices",
"device" => "00000000-0000-0000-d57d-f30cb6a89289",
"sim" => 1,
"priority" => 1,
"phone" => "+40712034567",
"message" => "Hello World!"
];
$cURL = curl_init("https://www.cloud.smschef.com/api/send/sms");
curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cURL, CURLOPT_POSTFIELDS, $message);
$response = curl_exec($cURL);
curl_close($cURL);
$result = json_decode($response, true);
// do something with response
print_r($result);
<?php
$message = [
"secret" => "API_SECRET", // your API secret from (Tools -> API Keys) page
"mode" => "devices",
"numbers" => "+40712034567,+639123456789,+639123456789",
"groups" => "1,2,3,4",
"device" => "00000000-0000-0000-d57d-f30cb6a89289",
"sim" => 1,
"priority" => 1,
"message" => "Hello World!"
];
$cURL = curl_init("https://www.cloud.smschef.com/api/send/sms.bulk");
curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cURL, CURLOPT_POSTFIELDS, $message);
$response = curl_exec($cURL);
curl_close($cURL);
$result = json_decode($response, true);
// do something with response
print_r($result);
For detailed informations about how you can integrate your app with SMS Chef please check our
API DocumentationSent already
Registered
Active users
Running smoothly