API Docs
Get URL
Get single URL by :ID using REST API endpoint: /api/v1/urls/:ID
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": "http://YourBrand.com/qwerty", "slashtag": "qwerty", "createdAt": "2018-05-12 23:23:15", "updatedAt": "2018-05-12 23:23:15" } }
{ "status": 400, "message": "Bad request. URL ID is invalid or missing.", "data": [] }
{ "status": 404, "message": "Not found. URL with specified ID doesn't exist.", "data": null }