Msg91 Help Doc
URL shortener

URL shortener

How to shorten the URL

🔗 What is a Short URL?

A Short URL is a compact version of a regular link (e.g., http://example.com/page). MSG91’s Smart URL Shortener automatically converts long URLs in your SMS content into short ones — saving SMS credits and enabling powerful tracking features.

When the recipient clicks on the Short URL, they are redirected to the original long URL.

✅ Why Use It?

  • Reduces SMS length → Saves credits

  • Tracks link performance → Know who clicked and how many times

  • DLT-compliant → Ensures redirection URLs meet TRAI’s CTA whitelisting guidelines


    To achieve it, just follow the below steps or watch this video-

⚙️ How to Enable Short URL

1. Login MSG91 panel -> Click on Short URL section


Screenshot 2025-05-30 232939.png

- In the  Settings section, you will get a toggle button where you can enable or disable the Short URL service.


Screenshot 2025-05-30 233243.png

✳️ How to Use Short URLs

1. Via API

Add the following parameter in your API request:

Screenshot 2025-05-30 235415.png

✅ Works with all versions of the MSG91 API.

Optional: Set Expiry for Short URLs

You can define how long a short URL remains active by adding this parameter:

  • Example: short_url_expiry=86400 (valid for 24 hours)

  • Maximum allowed: 31536000 seconds (1 year)

Option 2: Via Google Sheet Panel

  • All valid URLs in your SMS content will auto-convert to short URLs once the feature is enabled.

image

📝 Manually Create a Short URL

In the URL section, you will get all the URLs with created date, expiry (if any), and their short IDs. You can edit the expiry time by using the edit/action button.


Screenshot 2025-05-30 234025.png


Also, a new URL can be created manually with Create New button. You just have to add your Long URL and its Expiry time and click Save.


Screenshot 2025-05-30 234306.png


⚠️ Limitations & Exceptions

  • URLs must meet minimum length requirements:

    • With hostname: ≥ 12 characters

    • Without hostname: ≥ 7 characters

✅ Example:
http://test.mywire.org/welcome/
Hostname part: test.mywire.org
Path: /welcome/

  • Not supported for these domains:

    • cutt.ly, t.ly, bit.ly, bl.ink, rb.gy, bit.do, is.gd, ow.ly

  • Localhost URLs are not shortened

  • Max long URL length: 3000 characters

In case if you have any further queries, feel free to reach out to us at [email protected].

How to use and check the report of a short URL?
May 30, 2025

The Skip URL feature in MSG91’s ShortURL service provides flexibility and control when shortening URLs within your SMS content. This feature allows you to skip shortening specific static URLs, ensuring that only dynamic or variable URLs are processed for shortening. This helps maintain the integrity of certain links while optimizing others for compact delivery.

What is the Skip URL Feature?

The Skip URL feature is designed to:

  • Exclude Static URLs: Prevent specific static links from being shortened.

  • Shorten Variable URLs: Ensure that dynamic or parameter-based URLs are still optimized.

  • Simplify SMS Content Management: Streamline the handling of multiple types of URLs in your message templates.

Why Use the Skip URL Feature?

  • Preserve Brand Recognition: Static URLs, such as your website homepage, remain intact to maintain brand consistency.

  • Target Optimization: Only variable URLs that change per recipient are shortened, reducing redundancy.

  • Improved Analytics: Helps in differentiating between static and variable link performance.

How to Enable and Use the Skip URL Feature

  1. Log in to Your MSG91 Account:
    Navigate to your dashboard.

  2. Go to ShortURL Settings:

    • Locate the ShortURL section under the Utilities.

      Click on Upgrade.png-cqxcu4

  3. Access the Skip URL Configuration:

    • Open the settings for ShortURL.

    • Look for the Skip URL Feature option.

      Click on Upgrade (1).png-gobxn7

  4. Add Static URLs to Skip:

  5. Send SMS with Mixed URLs

    When you send an SMS containing both static and variable URLs, the system will automatically skip shortening for the URLs listed in the Skip URL configuration.

    Example:

    • Message Content:
      "Hello [Name], visit our website at https://www.example.com and track your order here: https://tracking.example.com/[orderID]."

    • Outcome:

      • Static URL (https://www.example.com): Skipped, remains unchanged.

      • Variable URL (https://tracking.example.com/[orderID]): Shortened automatically.

Frequently Asked Questions

  1. Can I add multiple URLs to the Skip List?
    Yes, you can add multiple static URLs to the Skip URL list. Ensure that each URL is added separately.

  2. What happens if I don’t configure the Skip URL feature?
    If the Skip URL feature is not configured, all URLs in your message content will be shortened by default.

  3. Can I update or remove URLs from the Skip List?
    Yes, you can edit the Skip URL list anytime from the ShortURL settings in your MSG91 dashboard.

Need Assistance?

If you have questions or need further support, feel free to contact our support team at [email protected] or via chat on the MSG91 platform.

Leverage the Skip URL feature to optimize your messaging strategy with MSG91!

Skip URL Feature in MSG91 ShortURL
Jan 26, 2025

Make your SMS messages more trustworthy, recognizable, and engaging using MSG91's Smart URL Shortener with the new Sender Mapping feature.

✅ Why Should You Use This?

When you send messages with short URLs, customers often hesitate to click unknown links from numeric sender IDs. Now with Sender Mapping, you can:

  • Show your brand name (alphanumeric sender) during URL redirection.

  • Boost customer trust by making messages feel official and branded.

  • Improve click-through rates by increasing message credibility.

  • Ensure compliance with Indian DLT regulations.

🔒 Your messages will still be delivered from your numeric sender ID, but the short URL will redirect through a branded sender name.

🔧 Quick Setup Guide (Takes Less Than 2 Minutes)

Step 1: Whitelist Our Domain on Your DLT Portal

To use the Smart URL Shortener, you must whitelist our domain for all your headers:

🔗 Follow this guide

✅ Add this domain to your DLT portal:

https://m.9m.io/

Step 2: Enable Sender Mapping in Your MSG91 Dashboard

  1. Login to your MSG91 dashboard.

    Screenshot 2025-05-17 224954.png-c1wdc4

  2. Go to URL Shortener» settings.

    Screenshot 2025-05-17 225348.png-scowbw

  3. Enable the "Sender Mapping" option.

    Screenshot 2025-05-17 225717.png-big9dk

Once done, your short links will automatically display the mapped alphanumeric sender during redirection.

ℹ️ Key Points

  • Works only for Indian messages.

  • No change in delivery – your messages still go through your numeric sender ID.

  • Only the short URL redirection displays the mapped sender name.

💬 Need Help?

If you have any questions or need assistance, our team is ready to help you set this up.

👉 Visit Help Center | 📧 [email protected]

Start using Sender Mapping today and build stronger trust with your customers – one message at a time.

Smart URL Shortener with Sender Mapping
May 17, 2025
Prev