> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Product Affiliates API

> Een Product Affiliate vertegenwoordigt de inschrijving van een gebruiker in het affiliateprogramma van een product. Een inschrijving kan bestaan voordat de gebruiker een doorverwijzing doet of een beloning verdient.

Gebruik de Product Affiliates API om de product affiliates van een account op te vragen, te zoeken op naam of gebruikersnaam van de affiliate, en de resultaten te beperken op product, inschrijvingsstatus of aanmelddatum.

## Endpoints

| Endpoint | Verzoek |
| - | - |
| [Product affiliates opvragen](https://docs.whop.com/nl/api-reference/product-affiliates/list-product-affiliates.md) | GET `/product_affiliates` |

## Attributen

**id** `string` *required*

Product affiliate-ID, met prefix `apaf_`.

**created\_at** `string` *required*

Wanneer de affiliate-inschrijving is aangemaakt, als ISO 8601-tijdstempel. Inclusief automatisch aangemaakte inschrijvingen.

**product** `object` *required*

Het product dat de affiliate promoot.

> [accordion] Eigenschappen
>
> **id** `string` *required*
>
> Product-ID, met prefix `prod_`.
>
> **title** `string` *required*
>
> Weergavenaam van het product.

**referred\_users\_count** `integer` *required*

Aantal unieke gebruikers dat de affiliate naar dit product heeft doorverwezen.

**status** `string` *required*

Of de inschrijving van de affiliate actief of gearchiveerd is.

Beschikbare opties: `active`, `archived`

**total\_reward\_amount\_usd** `object` *required*

Netto beloningen die de affiliate voor dit product heeft verdiend na kosten en terugboekingen, in USD.

> [accordion] Eigenschappen
>
> **amount** `string` *required*
>
> Het bedrag in hoofdeenheden, als exacte decimale string. `"10.00"` is bijvoorbeeld tien dollar. Het is een string zodat geen float het onderweg afrondt.
>
> **currency** `string` *required*
>
> Valutacode volgens ISO 4217 van drie letters, in kleine letters.
>
> **decimals** `integer` *required*
>
> Hoeveel decimalen het bedrag heeft. Dit is de precisie waarmee de betaling zelf wordt uitgevoerd.
>
> **display\_decimals** `integer` *required*
>
> Hoeveel decimalen je moet TONEN. Meestal gelijk aan `decimals`, en bewust niet altijd: COP wordt in centavos afgerekend maar in hele peso's geschreven, dus het is `2` en `0`. Formatteer het getal hiermee in je eigen locale.

**user** `object` *required*

De gebruiker die als affiliate is ingeschreven.

> [accordion] Eigenschappen
>
> **id** `string` *required*
>
> User-ID, met prefix `user_`.
>
> **email** `string | null` *required*
>
> Het e-mailadres van de affiliate. Vereist de scope `member:email:read`; `null` zonder die scope.
>
> **name** `string | null` *required*
>
> Weergavenaam.
>
> **profile\_picture** `object` *required*
>
> Avatar-wrapper. De `url` is altijd aanwezig en is een gegenereerde placeholder wanneer de gebruiker geen foto heeft ingesteld.
>
> > [accordion] Eigenschappen
> >
> > **url** `string` *required*
> >
> > URL van de avatarafbeelding. Altijd aanwezig. Het is een gegenereerde placeholder wanneer de gebruiker geen foto heeft ingesteld.
>
> **username** `string` *required*
>
> Openbare gebruikersnaam.

```json ProductAffiliate theme={null}
{
	"id": "apaf_xxxxxxxxxxxxxx",
	"status": "active",
	"product": {
		"id": "prod_xxxxxxxxxxxxxx",
		"title": "Ceramic Coating Package"
	},
	"user": {
		"id": "user_xxxxxxxxxxxxxx",
		"name": "Dana Whitfield",
		"username": "danawhitfield",
		"email": "dana@example.com",
		"profile_picture": {
			"url": "https://ui-avatars.com/api/?name=Dana+Whitfield"
		}
	},
	"referred_users_count": 3,
	"total_reward_amount_usd": {
		"amount": "147.00",
		"currency": "usd",
		"decimals": 2,
		"display_decimals": 2
	},
	"created_at": "2026-08-20T11:00:00.000Z"
}
```
