Overview of the Company API routes
The company API routes allow companies to directly access information about their business.
If you manage a business on Whop, this API is for you. You can use this API to retrieve data about your business.
All requests will need your company API Key. This can be found on your developer settings page. Be sure not to expose this API key on the client side. For more information on company API keys, click here
If you have used the V2 API, this will be the same API key you used there.
Scoped API keys provide access to specific resources or endpoints within Whop’s API, restricting access to the entire API. This approach limits the actions that client-side code can perform and reduces potential security vulnerabilities.
Scoped API keys are the best way for your company to use client-sided keys.
When altering memberships, always perform operations server-side. Client-side requests should only be used for validation.
Overview of the Company API routes
The company API routes allow companies to directly access information about their business.
If you manage a business on Whop, this API is for you. You can use this API to retrieve data about your business.
All requests will need your company API Key. This can be found on your developer settings page. Be sure not to expose this API key on the client side. For more information on company API keys, click here
If you have used the V2 API, this will be the same API key you used there.
Scoped API keys provide access to specific resources or endpoints within Whop’s API, restricting access to the entire API. This approach limits the actions that client-side code can perform and reduces potential security vulnerabilities.
Scoped API keys are the best way for your company to use client-sided keys.
When altering memberships, always perform operations server-side. Client-side requests should only be used for validation.