---
title: "Clicked links"
method: GET
path: "/v1/batch/{id}/clicks"
tags: ["batch"]
---

# Clicked links

`GET /v1/batch/{id}/clicks`

## Request

- Base URL: `https://api.wraps.dev`
- URL: `https://api.wraps.dev/v1/batch/{id}/clicks`
- Auth: HTTP bearer

Returns the top clicked links for a batch send, ordered by click count and capped at 50 URLs — `truncated` is true when more distinct URLs exist than are returned. Per-recipient unsubscribe and preference-centre links are aggregated into `unsubscribeCount` and excluded from `data`.

## Path parameters

- `id` string, required

## Response `200`

- object
  - `data` object[], required
    - `url` string, required
    - `count` number, required
  - `unsubscribeCount` number, required
  - `totalDistinctUrls` number, required
  - `truncated` boolean, required

## Other responses

- `400`: Malformed request — unparseable body or an invalid parameter.
- `401`: Missing, malformed, or revoked credentials. Send `Authorization: Bearer <api key>`.
- `403`: Authenticated, but the resource belongs to another organization.
- `404`: No such route, or no such resource in this organization.
- `422`: The request parsed but failed schema validation.
- `429`: Rate limit exceeded. Wait for the window named by the RateLimit headers.
- `500`: Unexpected server failure. Safe to retry with backoff; quote `requestId` if it persists.

---

[API](https://skmtc.dev/wraps/apis/wraps-platform-api.md) · [All operations](https://skmtc.dev/wraps/apis/wraps-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wraps/apis/wraps-platform-api/revisions/12116fb21af7?raw)
