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",
    "notes": "Internal notes",
    "isActive": true,
    "isCustomUrl": false,
    "visitCount": 1250,
    "createdAt": "2024-01-15T10:30:00Z",
    "domainId": "DOMAIN_ID"
  }
}

Notes

  • Only links in the API key workspace scope can be accessed
  • Missing/deleted resources return an error; workspace ownership is checked before returning data.

Prefer the returned link ID. When using a code shared by several domains, add ?domainId=DOMAIN_ID; an ambiguous code returns 409. shortUrl in the response is a code, not an absolute URL. External responses omit passwords, requester IPs and internal request hashes.