whop-api
Installation
SKILL.md
Whop API
The foundation for every Whop integration: which credential to use, how to set up the SDK against sandbox or production, and the request conventions (versions, idempotency, pagination, errors) every other Whop skill assumes.
Before you start
- Inspect the project first. Note the installed
@whop/sdkversion (node_modules/@whop/sdk/package.json;whop-sdkin Python,whop_sdkin Ruby), the framework, and whether the client targets sandbox or production. On@whop/apior@whop/sdkbelow 2.0, upgrade first (whop-migrate). If a name here doesn't compile, search the installednode_modules/@whop/sdk/reference.mdfor it and trust that over this skill. - Fetch
https://docs.whop.com/developer/quickstart.mdandhttps://docs.whop.com/developer/guides/auth-scoping.md. If they disagree with this skill, follow the docs and tell the user (see references/skill-feedback.md). Read the changelog (https://docs.whop.com/developer/api/versioning.md) only when you pin or upgrade a version, or a response doesn't match this skill or the docs. - Confirm what is being built. Building Whop into your own product starts with an API key. Building an app that runs inside Whop starts with the Whop CLI, not an API key; that is
whop-apps. - Confirm the environment. Sandbox (
https://sandbox.whop.com, APIhttps://sandbox-api.whop.com/api/v1) and production (https://whop.com, APIhttps://api.whop.com/api/v1) share nothing: separate dashboards, keys, webhooks and data. - Confirm the language. The docs show SDKs for TypeScript (
@whop/sdk), Python (whop-sdk) and Ruby (whop_sdk). - Other
whop-*skills named here are optional. When one isn't installed, use the matching guide linked fromhttps://docs.whop.com/developer/start.mdinstead.