Skip to content
Bakhtarian edited this page May 14, 2026 · 1 revision

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.

SDK access

$client->users // Matchable\Whop\Resource\UserResource

Endpoints

list(array $query = []): array

HTTP GET users
Does Lists users.
Parameters $query — optional filters / pagination.
Returns array

get(string $id): array

HTTP GET users/{id}
Does Retrieves a single user by ID.
Parameters $id — the user ID.
Returns array

update(string $id, array $data): array

HTTP PATCH users/{id}
Does Updates a user.
Parameters $id — the user ID; $data — the fields to update.
Returns array

checkAccess(string $id, array $data): 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

Example

$user = $client->users->get('user_...');

$client->users->update('user_...', ['name' => 'Jane Doe']);

$access = $client->users->checkAccess('user_...', [
    'experience_id' => 'exp_...',
]);

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally