I want to pass html link in the nexmo sms response once the order is confirmed. but it is taking it as a text.
Here is the code :
$api_key = '********';
$api_secret = '***************';
$number = '*************';
$message = 'Your order has been placed.';
$message .= "<a href='accounts/download_order/'>Download your tickets</a>";
$url = 'https://rest.nexmo.com/sms/json?' . http_build_query([
'api_key' => $api_key,
'api_secret' => $api_secret,
'to' => $number,
'from' => 'NexmoWorks',
'text' => $message
]);