Skip to main content
GET
/
products
/
{id}
/
access
/
{user_id}
Check product access
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
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
Example:

"prod_xxxxxxxxxxxxx"

user_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

is_team_member
boolean
required

Whether the user is a team member of the company that owns the resource

I