Use this page the first time you connect Whop to your app or backend. You’ll sign up, open the dashboard, create an API key, install the SDK, make your first call, and watch a webhook land on your server.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.
Keep
WHOP_API_KEY on your server. Do not put Company API keys in browser code, mobile apps, or public repositories.Set up your account
Sign up for Whop
Go to whop.com/new and create your Whop account. The onboarding flow creates your first business, which is the company that owns API keys, products, webhooks, and payments.
Open the dashboard
After onboarding, open whop.com/dashboard. If you have more than one business, choose the one you want to build against from the business switcher.
Create an API key
For the quickest path, create a Company API key. Use this when your server acts on behalf of your own business. Building a Whop App? Learn when to use App API keys and OAuth tokens.Create a Company API key
In Company API Keys, click Create. Name the key something you can recognize later, like
Local development or Production payments.Choose permissions
For the first SDK call below, use the Admin role or grant the read permissions listed on List payments. For production, switch to a narrower custom permission set once you know exactly which endpoints you use.
Install the SDK
.env:
Make your first call
List recent payments for your company. If your account is new, the response may be an empty list; that still confirms your key, permissions, and company ID are wired correctly.See a webhook
Whop sends a webhook to your server when something happens in your business, likepayment.succeeded or membership.activated.
Create a local webhook endpoint
Add a
POST endpoint in your app and expose it with ngrok, Cloudflare Tunnel, or another HTTPS tunnel while developing.Enter your URL and events
Paste your HTTPS endpoint, keep the API version on 

v1, and select the events you want to receive.

Next steps
Accept payments
Create checkout links or embedded checkout flows.
Validate webhooks
Verify signatures and handle payment events safely.
API walkthrough
Explore endpoints, SDK examples, and required permissions.





