> ## 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.

# Ad Pixels API

> Een Ad Pixel koppelt een pixel die je bezit op een advertentieplatform aan een bedrijf waarvan je campagnes hebt geclaimd via het advertiser supplier-programma.

Whop stuurt die pixel de conversies die aan je geclaimde campagnes voor dat bedrijf worden toegekend, met behulp van het access token dat je opgeeft.

Gebruik de Ad Pixels API om per bedrijf één pixel per advertentieplatform toe te voegen, je pixels op te vragen of op te halen, een access token te vervangen dat door het advertentieplatform is afgewezen, en een pixel te verwijderen om leveringen te stoppen.

## Endpoints

| Endpoint | Verzoek |
| - | - |
| [Ad pixels opvragen](https://docs.whop.com/nl/api-reference/ad-pixels/list-ad-pixels.md) | GET `/ad_pixels` |
| [Een ad pixel ophalen](https://docs.whop.com/nl/api-reference/ad-pixels/retrieve-an-ad-pixel.md) | GET `/ad_pixels/{id}` |
| [Een ad pixel aanmaken](https://docs.whop.com/nl/api-reference/ad-pixels/create-an-ad-pixel.md) | POST `/ad_pixels` |
| [Een ad pixel bijwerken](https://docs.whop.com/nl/api-reference/ad-pixels/update-an-ad-pixel.md) | PATCH `/ad_pixels/{id}` |
| [Een ad pixel verwijderen](https://docs.whop.com/nl/api-reference/ad-pixels/delete-an-ad-pixel.md) | DELETE `/ad_pixels/{id}` |

## Attributen

**id** `string` *required*

Ad pixel-ID, met prefix `adpx_`.

**account** `object` *required*

Het bedrijf waarvan de geclaimde campagnes conversies naar deze pixel sturen, met de naam en het logo.

> [accordion] Eigenschappen
>
> **id** `string` *required*
>
> Account-ID, met prefix `biz_`.
>
> **logo\_url** `string | null` *required*
>
> URL van de logo-afbeelding van het account. `null` wanneer het account er geen heeft ingesteld.
>
> **route** `string` *required*
>
> Publieke route-identificatie van het account, gebruikt in het storefront-pad `whop.com/\{route}`.
>
> **title** `string` *required*
>
> Weergavenaam van het account.

**account\_id** `string` *required*

Het bedrijf waarvan de geclaimde campagnes conversies naar deze pixel sturen, met prefix `biz_`.

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

Wanneer de pixel is toegevoegd, als ISO 8601-tijdstempel.

**error\_message** `string | null` *required*

Waarom het advertentieplatform de laatste levering heeft afgewezen. Null, tenzij `status` `errored` is.

**external\_id** `string` *required*

De ID van de pixel op het advertentieplatform: een Meta-pixel- of dataset-ID, TikTok-pixelcode, Google Ads-klant-ID of Thrad-tag-ID.

**name** `string | null` *required*

De naam van de pixel op het advertentieplatform. Null wanneer het advertentieplatform er geen heeft geretourneerd.

**platform** `string` *required*

Het advertentieplatform waartoe de pixel behoort.

Beschikbare opties: `meta`, `tiktok`, `google`, `thrad`

**status** `string` *required*

`active` ontvangt conversies. `errored` is gestopt omdat het advertentieplatform het access token heeft afgewezen; werk het token bij om te hervatten. `disabled` is door Whop uitgeschakeld.

Beschikbare opties: `active`, `errored`, `disabled`

**updated\_at** `string` *required*

Wanneer de pixel voor het laatst is gewijzigd, als ISO 8601-tijdstempel.

```json AdPixel theme={null}
{
	"id": "adpx_Kp7mQ2vXr9sTb",
	"account_id": "biz_7cRtUq3LmPx9Wd",
	"account": {
		"id": "biz_7cRtUq3LmPx9Wd",
		"title": "Acme Studio",
		"route": "acme-studio",
		"logo_url": "https://img.whop.com/acme-studio-logo.png"
	},
	"platform": "meta",
	"external_id": "1823877485451638",
	"name": null,
	"status": "active",
	"error_message": null,
	"created_at": "2026-10-09T18:24:31.512Z",
	"updated_at": "2026-10-09T18:24:31.512Z"
}
```


## Related topics

- [Update an Ad Pixel](https://docs.whop.com/nl/api-reference/ad-pixels/update-an-ad-pixel.md)
- [Create an Ad Pixel](https://docs.whop.com/nl/api-reference/ad-pixels/create-an-ad-pixel.md)
- [Delete an Ad Pixel](https://docs.whop.com/nl/api-reference/ad-pixels/delete-an-ad-pixel.md)
