Msg91 Help Doc
URL shortener
How to use and check the report of a short URL?

How to use and check the report of a short 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].

Prev