Schema
Why GraphQL
GraphQL is an API interface (alternative to REST) that allows for rapid development and iterative changes to evolving objects. Whop has built its core product and internal APIs using GraphQL for years, and is now exposing most of the same functionality via a publicly accessible version.
Available endpoints
You can explore all available queries and mutations using our Apollo OS explorer:
To make a call, you must pass the following headers:
Header | Description |
---|---|
Authorization | Get from here. Must be prefixed with “Bearer”. |
x-on-behalf-of | Specifies the User ID of the account you’re making requests on behalf of. |
x-company-id | Specifies the Biz ID to target the business of a user you are calling from. |
Content-Type | Specifies the format of the request payload as JSON. |
Who can you make requests on behalf of?
Your app can make calls on behalf of users in three ways. Any of these methods grant full access to automating the user’s account:
- The User is the owner of the application (Ex. Your own User ID)
- The User is an Agent User created by the app here
- The User has joined a whop that has installed your app
API Capabilities
This GraphQL API provides powerful access to the entire Whop ecosystem, allowing developers to build sophisticated integrations and applications. Through the API, you can access and manipulate all core Whop functionality, including:
- User management
- Store and product handling
- Messages, forum posts, and live streams
Development Status
⚠️ Important Note: This API is still under active development.
While we strive to maintain backward compatibility, some features may be added, modified, or removed
We recommend checking our changelog regularly for updates and announcements about API changes.