ShortLinkHub API for Development

Utilize the fastest and powerful ShortLinkHub API for link and QR code generation.

How to genarate links/QR code with API

1. Copy generated API key and Token

2. Use the POST method to send a request to the endpoint "https://app.shortlinkhub.com/api/create" in JSON format.

3. Example as below:

  "api_key": "<--YOUR API KEY-->", 
  "token": "<--YOUR TOKEN-->", 
  "link_to_short": "https://example.com/tutorials/",
  "title": "Title of the URL",
  "qr_code": "yes",

4. A successful response will return also in the JSON format as requested.

    "status": 200,
    "error": null,
    "messages": {
        "success": "Short URL created!"
    "long_url": "https://example.com/tutorials/",
    "title": "Title of the URL",
    "time": "2023-08-31 16:32:24",
    "is_qrcode": 1,
    "qr_code": "https://app.shortlinkhub.com/public/qr_codes/u4OzW-qr-code.png",
    "short_link": "slhb.link/u4OzW"