# Get Shortlink Clicks

GET /api/v2/projects/{projectId}/shortlink-clicks

Daily click counts for one short link, or for every short link in the project when shortlinkId is omitted.

## Request

- projectId: string, path, required — ID of the project that owns the short link.
- dateFrom: string, query
- dateTo: string, query
- shortlinkId: string, query

## Response

- 200: Successful response
  - data: object[], required — Daily click counts, one row per day in the window.
    - clicks: number, required — Clicks on that day.
    - date: string, required — Day the clicks were counted, YYYY-MM-DD.
  - meta: object[], required
    - name: string, required
    - type: string, required
  - rows: number, required
  - statistics: object, required
    - bytes_read: number, required
    - elapsed: number, required
    - rows_read: number, required
  - usage: object, required
    - cost: number, required
    - duration: number
    - metricCount: number
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
