Check membership status and validate a license key via the Whop API

domain: whop.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate an Account API key (your own data) or App API key (data across companies with your app installed) from the Whop developer dashboard
  2. Call the Whop API with Authorization: Bearer <api_key> to list or retrieve a membership by its ID or license key
  3. To validate a license key for a given install, POST /api/v2/memberships/{id}/validate_license with a metadata object identifying the install
  4. Read the response: HTTP 201 means valid (first use, or metadata matches a prior validation); HTTP 400 means invalid (e.g. metadata mismatch)
  5. Use the membership's status field (active, trialing, past_due, canceled, expired, completed) to drive access decisions rather than license validity alone

Known gotchas

Related routes

Receive and verify Whop membership and payment webhooks
whop.com · 5 steps · unrated
Verify a Payhip software license key via the API
payhip.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans