---
title: "List a partner's links"
method: GET
path: "/affiliates/{id}/links"
tags: ["Affiliates"]
---

# List a partner's links

`GET /affiliates/{id}/links`

## Request

- Base URL: `https://api.supersendtx.com`
- URL: `https://api.supersendtx.com/affiliates/{id}/links`
- Auth: HTTP bearer

## Response `200`

Links, primary first

- AffiliateLinkListResponse
  - `data` AffiliateLink[], required
    - `object` 'affiliate_link', required
    - `id` string, required
    - `affiliate_id` string, required
    - `token` string, required: The value of `?via=` (or `?ref=`) in the link
    - `url` string, uri, required: The shareable link
    - `destination_url` string, uri, nullable
    - `label` string, nullable
    - `is_primary` boolean, required
    - `created_at` string, date-time, required
  - `has_more` boolean, required
  - `next_cursor` string, nullable, required

## Other responses

- `400`: Validation error (`details.fields` names each bad field)
- `401`: Missing or invalid API key
- `403`: The API key is not full access, or the action is not allowed
- `404`: Not found in this account

---

[API](https://skmtc.dev/ranla/apis/supersend-tx-api.md) · [All operations](https://skmtc.dev/ranla/apis/supersend-tx-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ranla/apis/supersend-tx-api/revisions/e3e782652f50?raw)
