---
title: "Short link activity"
method: GET
path: "/link/{link_id}/activity/"
tags: ["Short links"]
---

# Short link activity

`GET /link/{link_id}/activity/`

## Request

- Base URL: `https://hovercode.com/api/v2`
- URL: `https://hovercode.com/api/v2/link/{link_id}/activity/`
- Auth: API key in header `Authorization`

Individual clicks, newest first. Same paginated format as QR code activity.

## Path parameters

- `link_id` string, uuid, required

## Query parameters

- `start` string
- `end` string
- `page` integer
- `page_size` integer

## Response `200`

OK

- object: DRF page-number pagination envelope.
  - `count` integer, required
  - `next` string, uri, nullable, required
  - `previous` string, uri, nullable, required
  - `results` Activity[], required
    - `qr_code_id` string, uuid, nullable
    - `time_utc` string
    - `time_timezone_aware` string
    - `location` string, nullable
    - `device` string, nullable
    - `scanner_id` string, nullable: Hashed, anonymous scanner fingerprint.
    - `id` string, uuid

## Other responses

- `400`: Validation error.
- `401`: Missing or invalid API token.
- `404`: Not found, or not in a workspace you belong to.
- `429`: Rate limit exceeded. Wait `Retry-After` seconds before retrying.

---

[API](https://skmtc.dev/hovercode/apis/hovercode-api.md) · [All operations](https://skmtc.dev/hovercode/apis/hovercode-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hovercode/apis/hovercode-api/revisions/4a9bc3cafe41?raw)
