Get Short Link

Retrieve detailed information for a specific short link by ID or short URL.

Endpoint

GET /v2/external/client/short-links/{id}

Path Parameters

Parameter Type Required Description
id string Yes Short link ID or short URL

Response

{
  "status": true,
  "message": "Short link retrieved successfully",
  "data": {
    "id": "507f1f77bcf86cd799439011",
    "originalUrl": "https://example.com/very/long/url",
    "shortUrl": "abc123",
    "title": "My Link",
    "category": "social",
    "categoryTitle": "Social Media",
    "categoryValue": "instagram",
    "notes": "Internal notes",
    "isActive": true,
    "isCustomUrl": false,
    "visitCount": 1250,
    "createdAt": "2024-01-15T10:30:00Z",
    "createdBy": "user-id",
    "ipAddress": "192.168.1.1"
  }
}

Notes

  • Only links owned by the API key's user can be accessed
  • Returns 404 if link not found or access denied