Make a request
The base URL ishttps://api.whop.com/api/v1. Authenticate every request with a Bearer API key:
How requests work
Authentication
Create an API key here under Account API Keys. Keys belong to an account and carry the permissions you grant them. Keep keys on your server, never in browser code, mobile apps, or public repos.Versioning
Whop versions the API by date. Send anApi-Version-Date header, such as 2026-07-01, to pin the shapes of your requests and responses. Later changes won’t break a pinned caller. When you omit the header, requests use the original 2025-01-01 shapes. Generated SDKs always send the latest version available when Whop built them. See Versioning.
Pagination
List endpoints return adata array plus a page_info object. Pass first to choose the page size. Pass after with the previous response’s page_info.end_cursor to fetch the next page. page_info.has_next_page tells you when to stop.
Errors
Failed requests return a conventional HTTP status (400, 401, 403, 404) and a body with a single error object: type is a machine-readable code and message explains what went wrong.
Where everything lives
This reference covers the versioned API. Some resources are still served by the earlier surface and documented in the Legacy API reference — fully supported, and marked with a pointer wherever a successor exists here:- Charging: Payments, Refunds, Invoices, Payment methods
- Content and community: Courses, Forums, Messages
- Growth: Affiliates, Leads, Reviews

