Sign Up and send free SMS messages.

URL Shortener API


API end-point URL

Version 1

The base URL to use for this service is https://smspoh.com/api/url-shortener. The base URL cannot be used on its own; you must append a path that identifies an operation and you may have to specify some path parameters as well.

https://smspoh.com/api/url-shortener/

Create a new Short Link

 /links

Query Parameters

Key Example Description Required
access-token ABCDEFG12345 You can find your API key in your account Required
link {Any Valid URL} The long URL to shorten Required
domain mmurl.co Domain for your short URL Optional
title A short title/description for your short URL Optional

Example

https://smspoh.com/api/url-shortener/links?access-token=ABCDEFG12345&link={ValidURL}&title={Title}&domain=mmurl.co

Response Body

{
    status: true,
    data: {
        title: "{Title}",
        url: "{ValidURL}",
        shortUrl: "mmurl.co/{hash}",
        createdAt: "2020-10-10 12:00:44",
        domain: "mmurl.co"
    }
}