Check Permissions
Changed onLists permission actions and whether the calling credential is granted each one for a resource. Answers for whichever identity authenticated the request — a user session, an OAuth token, or an account or app API key — so it never describes who else can reach the resource.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/permissions
- Auth: HTTP bearer
Query parameters
Tag of the resource to check against: an account (biz_), product (prod_), experience (exp_), or app (app_). A resource the credential cannot see is reported as granted nothing rather than as an error.
Comma-separated permission actions to check, for example stats:read,payment:basic:read. Every action is returned when omitted.
Response
permissions listed
Example response
{
"data": [
{
"action": "waitlist_entry:read"
}
]
}Changes
- warning
added the new
user:abuse_report:createenum value to the//response property for the response status
- warning
- warning
added the new
partner:handoffenum value to the//response property for the response status
- warning