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

# Hvad du kan bygge med Whop

> Betalinger, udbetalinger, identitet, fællesskab og distribution gennem ét API. Overlad opsætningen til din kodeagent, eller modtag din første betaling i sandkassen.

Whop er ét API til at modtage betalinger, udbetale til folk, verificere identitet, give adgang og indlejre chat. Du kan bygge Whop ind i dit eget produkt eller udgive en app, der kører inde i Whop. Alt nedenfor starter i sandkassen, hvor der ikke flyttes rigtige penge.

## Byg med din kodeagent

Indsæt dette i Claude Code, Cursor, Codex eller en hvilken som helst kodeagent. Erstat den sidste linje med det, du bygger.

```text Prompt theme={null}
Build my Whop integration. Build and test in the Whop sandbox. Production is for launch only.

Whop has two environments. Never mix their API keys, URLs, or webhook secrets:
- SANDBOX (build and test here, no real money): API https://sandbox-api.whop.com/api/v1, keys and webhooks at https://sandbox.whop.com/dashboard/developer, SDK environment Sandbox.
- PRODUCTION (launch only, real money): API https://api.whop.com/api/v1, keys and webhooks at https://whop.com/dashboard/developer, SDK environment Production, which is the SDK default.

1. Read https://docs.whop.com/skill.md and follow it.
2. Connect the Whop MCP server at https://mcp.whop.com/mcp to search the docs. It acts on PRODUCTION data, so don't use it to create or change anything.
3. Read WHOP_ENVIRONMENT (sandbox or production), WHOP_API_KEY, and WHOP_WEBHOOK_SECRET from the server's environment. Choose the SDK environment from WHOP_ENVIRONMENT, and default to sandbox when it's unset.
4. Follow https://docs.whop.com/developer/quickstart.md to make the first call, create a checkout, and handle the payment.succeeded webhook.
5. Ask me before running anything against production.

What I'm building:
```

Sandkasse og produktion er separate Whop-miljøer med separate konti, nøgler og webhooks, og deres nøgler ser identiske ud. Prompten nævner begge, så din agent bygger mod sandkassen og ved præcis, hvad der ændrer sig ved lancering. For at give din agent Whops konventioner permanent skal du installere skill'en med `npx skills add https://docs.whop.com`. [AI-værktøjer](https://docs.whop.com/da/developer/ai/overview.md) dækker MCP-serveren, plugins og opsætning pr. klient.

## Eller start manuelt

> [card] [Quickstart](https://docs.whop.com/da/developer/quickstart.md)
>
> Få en sandbox-nøgle, foretag dit første kald, betal en checkout med et testkort, og modtag webhooken. Cirka 10 minutter.

## Vælg din vej

> [card] [Du sælger et abonnement eller et engangsprodukt](https://docs.whop.com/da/developer/guides/accept-payments.md)
>
> Checkout-links eller Checkout-elementet. Første betaling på under en time.

> [card] [Du skylder penge til andre end dig selv](https://docs.whop.com/da/developer/platforms/manual-payouts.md)
>
> Send udbetalinger, indlejr udbetalingsportalen, fyld saldi op.

> [card] [Du tager en andel af det, andre sælger](https://docs.whop.com/da/developer/platforms/quickstart.md)
>
> Tilmeld underkonti, opkræv på deres vegne, udbetal til dem.

> [card] [Du vil have distribution, ikke kun infrastruktur](https://docs.whop.com/da/developer/guides/app-views.md)
>
> Udgiv en app, der kører inde i Whop, hvor virksomheder installerer den. Start med CLI'en, ikke en API-nøgle.

> [card] [Dit produkt kræver, at folk taler med hinanden](https://docs.whop.com/da/developer/guides/chat/quickstart.md)
>
> Chat, DM'er og fora, indlejret i dit produkt.

> [card] [Du vil se det hele](https://docs.whop.com/da/developer/platform-map.md)
>
> Alle funktioner, og om de kommer som et API, et element eller en hostet side.


## Related topics

- [Annoncér med Whop Ads](https://docs.whop.com/da/developer/ads/overview.md)
- [Whop Partners API](https://docs.whop.com/da/developer/partners/overview.md)
- [Markedspladser og platforme](https://docs.whop.com/da/developer/marketplaces/overview.md)
