Apps
Check Access
This endpoint checks the given access expression.
GET
/
check
/
{access_expression}
Usage
This endpoint is used to check if the current user has access to a given access expression. It is used in the hasAccess
function of the SDK. You can find more information about access expressions in the Expressions section.
Authorizations
The users access token, this can be fetched from the whop_user_token
cookie.
Path Parameters
The access expression to be checked.
Response
200 - application/json
Was this page helpful?