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

# Exports API

> En Export er en CSV af en af en kontos dashboard-tabeller, såsom medlemmer, betalinger eller tvister.

Eksporter genereres i baggrunden, så en ny eksport starter som `pending` og bliver `completed` med et downloadlink.

Brug Exports API'et til at starte en eksport, polle den, indtil `download_url` er angivet, og liste en kontos tidligere eksporter. Hver tabel kræver sit eget eksport-scope, og færdige filer slettes efter 30 dage.

## Endpoints

| Endpoint | Anmodning |
| - | - |
| [List eksporter](https://docs.whop.com/da/api-reference/exports/list-exports.md) | GET `/exports` |
| [Hent eksport](https://docs.whop.com/da/api-reference/exports/retrieve-export.md) | GET `/exports/{id}` |
| [Opret eksport](https://docs.whop.com/da/api-reference/exports/create-export.md) | POST `/exports` |

## Attributter

**id** `string` *required*

Eksport-ID med præfikset `exprt_`.

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

Hvornår eksporten blev anmodet, som et ISO 8601-tidsstempel.

**download\_url** `string | null` *required*

Et kortlivet link til at downloade den færdige fil. `null` indtil `status` er `completed`, og igen når eksporten er udløbet.

**expires\_at** `string` *required*

Hvornår filen slettes, og eksporten skifter til `expired`, som et ISO 8601-tidsstempel. Eksporter opbevares i 30 dage.

**progress\_percent** `integer | null` *required*

Estimeret færdiggørelsesprocent fra 0 til 100.

**resource** `string` *required*

Den ressource, der blev eksporteret, f.eks. `receipts`, `members` eller `payouts`.

Tilgængelige muligheder: `ad_campaigns`, `ad_groups`, `ads`, `apps`, `audiences`, `bounties`, `bounty_submissions`, `card_transactions`, `checkout_configurations`, `disputes`, `events`, `external_accounts`, `financial-activity`, `payout_methods`, `payouts`, `people`, `plans`, `products`, `receipt_invoices`, `resolution_center_cases`, `shipments`, `social_accounts`, `team_members`, `transfers`, `webhooks`, `members`, `receipts`, `unclaimed_memberships`, `memberships`, `tracking_links`, `promo_codes`, `resolutions`, `entries`, `leads`, `invoices`, `cancelation_reasons`, `child_companies`, `ledger_lines`, `withdrawal_lines`

**status** `string` *required*

`pending` eller `processing` mens filen genereres, `completed`, når downloadet er klar, `failed`, hvis der opstod en fejl, `expired`, når filen er blevet slettet.

Tilgængelige muligheder: `pending`, `processing`, `completed`, `failed`, `expired`

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

Hvornår eksporten sidst blev ændret, som et ISO 8601-tidsstempel.

```json Export theme={null}
{
	"id": "exprt_xxxxxxxxxxxxxx",
	"resource": "members",
	"status": "completed",
	"progress_percent": 100,
	"download_url": "https://whop-assets-example.s3.amazonaws.com/uploads/exports/2026-09-15/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.csv",
	"expires_at": "2026-10-15T14:31:12.000Z",
	"created_at": "2026-09-15T14:30:00.000Z",
	"updated_at": "2026-09-15T14:31:12.000Z"
}
```


## Related topics

- [Export completed](https://docs.whop.com/da/api-reference/exports/export-completed.md)
- [Export failed](https://docs.whop.com/da/api-reference/exports/export-failed.md)
- [List Exports](https://docs.whop.com/da/api-reference/exports/list-exports.md)
