API Docs

Get URLs

Get a complete list of your URLs using REST API endpoint: /api/v1/urls

Request

Parameter Type Position # Description
apikey string Header Required Enter your 20-characters unique api key.
apisecret string Header Required Enter your 12-characters unique api secter.

Response

{
    "status": 200,
    "message": "ok",
    "data": [
        {
            "id": 101,
            "destination": "http://google.ca?q=your+lengthy+destination+url",
            "hits": 100,
            "redirectCode": "301",
            "shortUrl": "https://YourBrand.com/qwerty",
            "slashtag": "qwerty",
            "createdAt": "2018-05-12 23:23:15",
            "updatedAt": "2018-05-12 23:23:15"
        },
        ...
    ]
}
											
{
    "status": 401,
    "message": "Api key and secret is not valid or missing."
}