Link Shortening is now accessible in public beta on the Programmable Messaging API. This functionality enables you to programmatically shorten long links with your own company branded domain without any extra API calls. You can also set up your webhook to receive click events when recipients of the messages click on the shortened link. Shortened links are a great way to make a message shorter and more readable for the recipient, but it is crucial to understand some rules and best practices to ensure successful delivery, as well as a good user experience.
SMS and MMS messaging with shortened URLs - United States
When sending SMS or MMS messages containing shortened URLs to users in the United States, use a dedicated, branded short domain that belongs to your business.
Sending messages containing unbranded URLs is a common technique used for fraud/malicious messages. Because of this, consumers are less likely to click on the link, because they are not confident of where the landing page will take them to.
According to T-Mobile’s Code of Conduct, and US carrier expectations in general, a short link should be both:
- proprietary – a dedicated custom domain that belongs to your business, not a free shared public link shortener
- properly branded – the domain aligns with the message sender identified in the text message itself
What does "proprietary" mean?
"Proprietary" means the short URL belongs to your business and is not used by unrelated businesses or organizations. Do not send links that have been shortened using shared public URL shorteners, such as free TinyUrl or Bitly links. US carrier policies strongly discourage the use of shared public URL shorteners, due to the frequency of use by spammers, scammers and other bad actors. The use of these public shared shorteners will result in higher risk of filtering, with no recourse if filtering does occur.
What does "properly branded" mean?
For an example of what "proper branding" means, consider an imaginary political organization called Americans for Clean Air, sending call-to-action messages to opted-in subscribers.
This message contains a URL that is not properly branded, because it does not align with the organization name:
Hi, it’s John from Americans for Clean Air (ACA). Please contact your representatives today to let them know you care about reducing air pollution. For more info: abcd.com/1234xyz - Reply STOP to unsubscribe
The below message has a properly branded short URL that meets US carrier expectations:
Hi, it’s John from Americans for Clean Air (ACA). Please contact your representatives today to let them know you care about reducing air pollution. For more info: aca.com/1234xyz - Reply STOP to unsubscribe
How can I implement this?
Link Shortening is a feature under Twilio Messaging Services and can be implemented through the API or console. For a full overview of how to implement Link Shortening, please see How to Configure Link Shortening.
Once you've completed that setup and have enabled this feature on a Messaging Service, you can start sending shortened links in your messages by following this guide: Create a Message Resource With Shortened Link.