cURL
curl --request GET \ --url https://api.whop.com/api/v1/users/{id}/access/{resource_id} \ --header 'Authorization: Bearer <token>'
{ "has_access": true, "access_level": "no_access" }
Check if a user has access (and their access level) to a resource
The app API key from an app from the /dashboard/developer page
"user_xxxxxxxxxxxxx"
A successful response
The result of a has access check for the developer API
Whether the user has access to the resource
The permission level of the user
no_access
admin
customer
Was this page helpful?