Skip to main content
GET
/
users
/
{id}
/
access
/
{resource_id}
Check access
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"
}

Authorizations

Authorization
string
header
required

The app API key from an app from the /dashboard/developer page

Path Parameters

id
string
required
Example:

"user_xxxxxxxxxxxxx"

resource_id
string
required

Response

A successful response

The result of a has access check for the developer API

has_access
boolean
required

Whether the user has access to the resource

access_level
enum<string>
required

The permission level of the user

Available options:
no_access,
admin,
customer
I