---
title: "Fetch tracking links"
method: GET
path: "/tracking_links"
tags: ["tracking_links"]
---

# Fetch tracking links

`GET /tracking_links`

Return a list of json data for all tracking links associated to a campaign mailing send or campaign mailing delivery.

**Note:** The campaign_mailing_send_id is available from the Paubox Marketing interface analytics page. Click a sent campaign and the URL will show a selectedId.

If you pass in the campaign_mailing_send_id, it will return a list of every link in every email sent in the campaign and the tracking info.

## Query parameters

- `campaign_mailing_send_id` string, uuid, required
- `order_by` string
- `order` 'asc' | 'desc'

## Response `200`

Tracking links data

- TrackingLinksDetailResponse
  - `data` TrackingLinksDetailResponseData[]
    - `id` string — Tracking link ID
    - `type` 'tracking_link' — Resource type
    - `attributes` TrackingLinksDetailResponseAttributes
      - `target_url` string — The target URL of the tracking link
      - `opened_at` string, date-time — Timestamp when the link was opened
      - `clicked` integer — Number of times the link was clicked
      - `campaign_mailing_delivery_id` string — ID of the campaign mailing delivery associated with this tracking link

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `422` — Unprocessable entity
- `500` — Internal server error

---

[API](https://skmtc.dev/paubox/apis/paubox-forms-api.md) · [All operations](https://skmtc.dev/paubox/apis/paubox-forms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/paubox/paubox-forms-api/revisions/71f6affe238c/schema)
