List Short Links

Retrieve a paginated list of all short links for the authenticated user.

Endpoint

GET /v2/external/client/short-links

Query Parameters

Parameter Type Required Default Description
page integer No 1 Page number (1-based)
size integer No 10 Number of items per page
year integer No - Filter by creation year
month integer No - Filter by creation month (1-12)
search string No - Search in title, original URL, or short URL
status string No - Filter by status: "active", "inactive", or "all"

Response

{
  "status": true,
  "message": "Short links retrieved successfully",
  "data": {
    "content": [
      {
        "id": "507f1f77bcf86cd799439011",
        "originalUrl": "https://example.com/very/long/url",
        "shortUrl": "abc123",
        "title": "My Link",
        "isActive": true,
        "createdAt": "2024-01-15T10:30:00Z"
      }
    ],
    "totalElements": 50,
    "totalPages": 5,
    "size": 10,
    "number": 0,
    "first": true,
    "last": false
  }
}

Notes

  • Results are paginated (default 10 per page)
  • Data retention limits apply based on your plan
  • Search is case-insensitive and matches title, original URL, or short URL