I'm using twilio to send SMS messages.
In the message I have an URL but instead of showing the entire URL (which works) I want something like "Click here" which is the URL.
To clarify:
What my SMS is now: Follow this link: http://www.someurl.com
What I want: Click here to ...
Where "Click here" is the url i.e. http://www.someurl.com
Each SMS has to contain a unique link to a web page with the order status. Twilio doesn't have a built-in URL shortener for plain SMS, so we recommend using the Short.io API. First request to shorten a URL, then use the result when sending the SMS with the Twilio API.
Using Twilio's REST API, you can send outgoing SMS messages from your Twilio phone number to mobile phones around the globe.
URL addresses that you need to use to connect to SMSAPI are: https://api.smsapi.com/ - primary. https://api2.smsapi.com/ - secondary.
As Devin says, you can't, SMS messages are pure text, not html. What you could do is use an off-the-shelf, or custom, url shortener (i.e.. bit.ly) if you want the urls to either be shorter, or personalized.
Twilio evangelist here.
Since there is no such thing as "markup" in an SMS, there is no way to create HTML-style hyperlinks. The fact that a string of characters in the SMS message is recognized and becomes a hyperlink is completely dependent upon the device having that capability.
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With