Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Whop Memberships API

A user's access to a product; lifecycle and access management.

Whop Memberships API is one of 12 APIs that Whop publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Memberships. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 8 operations across 7 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against 2 base URLs: https://api.whop.com/api/v1, https://sandbox-api.whop.com/api/v1.

8 operations 7 paths 3 schemas 2 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.whop.com/api/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Whop Memberships API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (Whop API key) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token authentication. Use a Company/Account API key or an App API key in the Authorization: Bearer header. OAuth access tokens are used when acting on b…

Paths & Operations 8

Across 7 paths, the API surfaces 8 operations — 2 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Memberships 8

A user's access to a product; lifecycle and access management.

GET
/memberships
List memberships
listMemberships 15 params → 200401
GET
/memberships/{id}
Retrieve a membership
retrieveMembership 1 param → 200401404
POST
/memberships/{id}
Update a membership
updateMembership 1 param body → 200401
POST
/memberships/{id}/add_free_days
Add free days to a membership
addFreeDaysMembership 1 param body → 200
POST
/memberships/{id}/cancel
Cancel a membership
cancelMembership 1 param → 200
POST
/memberships/{id}/uncancel
Uncancel a membership
uncancelMembership 1 param → 200
POST
/memberships/{id}/pause
Pause a membership
pauseMembership 1 param → 200
POST
/memberships/{id}/resume
Resume a membership
resumeMembership 1 param → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Membership (19 properties), PageInfo (4 properties), Error (2 properties). Each schema is shown below with its type and property counts.

PageInfo
object
Cursor pagination metadata.
4 properties
Error
object
2 properties
Membership
object
A user's access to a product. Fields taken from the documented List memberships response.
19 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

whop-memberships-api-openapi.yml Raw ↑

Other APIs Whop publishes across the network.

Whop GraphQL API
Whop Realtime WebSocket API
Whop Checkout Configurations API
Whop Companies API
Whop Payments API
Whop Plans API
Whop Products API
Whop Promo Codes API
Whop Transfers API
Whop Users API
Whop Webhooks API