cURL
curl --request GET \ --url https://access.api.whop.com/check/{access_expression} \ --header 'Authorization: Bearer <token>'
{ "access": true }
This endpoint checks the given access expression.
hasAccess
The users access token, this can be fetched from the whop_user_token cookie.
whop_user_token
The access expression to be checked.
Successful response
Was this page helpful?