Check if the user has access to a Whop resource
import { whopApi } from "@/lib/whop-api"; const result = await whopApi.checkIfUserHasAccessToExperience({ // The ID of the experience experienceId: "exp_XXXXXXXX" /* Required! */, // The ID of the user userId: "user_XXXXXXXX", });
Was this page helpful?