-
Notifications
You must be signed in to change notification settings - Fork 0
User
A user is an individual account on Whop — a person who can buy products, hold memberships, and access experiences. This resource lets you read users, update them, and check whether a user has access to a given resource.
$client->users // Matchable\Whop\Resource\UserResource| HTTP | GET users |
| Does | Lists users. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET users/{id} |
| Does | Retrieves a single user by ID. |
| Parameters |
$id — the user ID. |
| Returns | array |
| HTTP | PATCH users/{id} |
| Does | Updates a user. |
| Parameters |
$id — the user ID; $data — the fields to update. |
| Returns | array |
| HTTP | POST users/{id}/check-access |
| Does | Checks whether the user has access to a given resource (e.g. an experience or product). |
| Parameters |
$id — the user ID; $data — request body identifying the resource to check access against. |
| Returns | array |
$user = $client->users->get('user_...');
$client->users->update('user_...', ['name' => 'Jane Doe']);
$access = $client->users->checkAccess('user_...', [
'experience_id' => 'exp_...',
]);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification