Send SMS using php-curl

How Send SMS using php-curl
SMS.Studio
SMS.Studio

Created: 01/15/2022 4:26 AM - Updated: 01/15/2022 5:02 AM

Below is a php code example to send SMS through SMS.Studio APIs

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "https://api.sms.studio/customer/custom-sms?
api_token=3o489uw8i&response_type=json&from_name=SMSSTUDIO&to=RECEPIENT&text=Howdy!
");

curl_setopt($ch, CURLOPT_HEADER, 0);
$response = curl_exec($ch);
curl_close($ch);
echo $response;

Was this article helpful?

0 Out of 1 Marked As Helpfull

Have more questions? Please Contact Us