Developer REST API (v1)

Programmatically create short URLs, dynamic QR codes, and query real-time click analytics from your applications.

Authentication

Authenticate all requests by passing your API Key in the X-API-Key header or as a Bearer Token.

curl -H "X-API-Key: YOUR_API_KEY" https://linkcreator.in/api/v1/links
POST /api/v1/links/create

Creates a new shortened trackable link or dynamic QR code target.

Request Body (JSON)

{
  "url": "https://example.com/promo-landing-page",
  "title": "Summer Campaign",
  "custom_alias": "summer-26",
  "utm_source": "newsletter",
  "utm_campaign": "july_blast"
}

Response (201 Created)

{
  "status": "success",
  "data": {
    "id": 12,
    "short_code": "summer-26",
    "short_url": "https://linkcreator.in/summer-26",
    "original_url": "https://example.com/promo-landing-page",
    "created_at": "2026-08-21 17:00:00"
  }
}
GET /api/v1/links

Returns a list of all trackable links created under your account.

Response (200 OK)

{
  "status": "success",
  "count": 2,
  "data": [
    {
      "id": 12,
      "title": "Summer Campaign",
      "short_code": "summer-26",
      "short_url": "https://linkcreator.in/summer-26",
      "original_url": "https://example.com/promo",
      "clicks_count": 1420
    }
  ]
}