cURL
curl --request GET \ --url https://api.whop.com/api/v1/products/{id}/access/{user_id} \ --header 'Authorization: Bearer <token>'
{ "has_access": true, "is_team_member": true }
Check if the user has access to a product
The app API key from an app from the /dashboard/developer page
"prod_xxxxxxxxxxxxx"
A successful response
The result of a has access check for the developer API
Whether the user has access to the resource
Whether the user is a team member of the company that owns the resource
Was this page helpful?