Getting your API key
- Go to your developer dashboard.
- Click the Create app button and give your app a name. You can change this name later.
-
Your API key is the hidden text after
WHOP_API_KEY
in theEnvironment variables
section. Use the reveal button to show the key, copy it and keep it in a safe place. You will need it to make API calls.
Making API calls
Our public api is available athttps://api.whop.com/api/v1
You can test the api by using curl to fetch your public user profile data:
Authorization
header using the Bearer
scheme:
Using an SDK
We recommending using our SDKs to make API calls in your apps. We currently supportExample usage
Make sure you app has the required permissions to make api calls. See
Permissions for more information.