Open SidemenuDocs
Docs
Close Sidemenu
Choose:
Mission Control PortalcURLPythonRubyNodePHP.NET
Mission Control PortalcURLPythonRubyNodePHP.NET

Custom URL Shortening with Telnyx Messagingcustom-url-shortening-with-telnyx-messaging

Note: If you are interested in activating this feature, please reach out to our Sales Team.Telnyx DevelopersAfter this feature is activated for your account, you will be able to configure it following the steps below.

Telnyx provides a URL Shortening service with custom links in order to improve brand awareness and bypass spam filters that block most popular URL shortening sites. Any message that contains URLs with the supported domains will be converted into one of Telnyx's custom shortened URLs. Check out the guide below for details, and make sure you sign up for a free Telnyx account Telnyx Developersbefore you get started!

How Custom URL Shortening Workshow-custom-url-shortening-works

When URL Shortening is turned on, any messages that contains base URLs from the supported URLs will be converted to a URL with a base domain of your choosing. Custom shortened URLs give brand exposure, are more memorable, and boost your audience's trust.

Let's take a look at how custom URL shortening works - if you were to send a message that looked like the following payload object:

{
  ...
  "text": "Your shift is starting soon: https://bit.ly/78ejf9n"
  ...
}

URL Shortening will turn the message into:

{
    ...
    "text": "Your shift is starting soon: http://scdlchg.cc/b20",
    ...
}

Supported Domains in Shortened URLssupported-domains-in-shortened-urls

By default, if URL Shortening is enabled on the messaging profile, only URLs with the following domains will be converted:

  • bit.do
  • bit.ly
  • carebank.site
  • drvline.site
  • eatngage.com
  • goo.gl
  • healthsettle.pw
  • ht.ly
  • is.gd
  • ow.ly
  • rebrand.ly
  • t.co
  • tiny.cc
  • tinyurl.com
  • x.co

Note: You have the option of expanding the URL shortening for all domains. You can disable the Replace Blacklist Only setting in the URL Shortener settings on your messaging profile.

Message Engagement Reportsmessage-engagement-reports

In addition to custom URL shortening, you can also view how often recipients of your messages have opened the link via the Message Engagement Report.

  1. 1Select a Start Date and End Date for the time range you wish to report on.
  2. 2Select the Messaging Profiles you wish to report on.
  3. 3Click on Generate Messaging Report.
  4. 4(Optionally) You can also download a detailed view of the clicks.

If you want to track user engagement with your custom shortened URL in real time, you have the option of receiving webhooks when a shortened link is clicked.

You can enable receiving webhooks on a per messaging profile basis. Webhooks will be sent to the webhooks already configured on the messaging profile.

How do I create a custom shortened URL?how-do-i-create-a-custom-shortened-url-

Custom URL Shortening is enabled per Messaging Profile. If you send SMS via phone numbers under this profile, and they contain any URLs that are part of the list of supported URLs, then they will be replaced with links that the URL Shortener service generates.

Please reach out to customer support so that they can work internally to create your customer URL shortener. Please provide the following information so customer support can process your request:

  1. 1Your customer ID
  2. 2Your custom domains (or let us know if you need us to provide the domains for you)
  3. 3The profile IDs that you need the link shortner assigned to

Please note that any domains that you provide need to be set up with AAA records


Sign up for a free Telnyx account Telnyx Developersfor $10 in free credits to get started with Custom URL shortening.

Was this page helpful?