Skip to content

AuthorizedUser

Bakhtarian edited this page May 14, 2026 · 1 revision

Authorized User

An authorized user is a user granted administrative or team access to a Whop company. Authorized users can manage the company's products, members, and settings according to their role.

SDK access

$client->authorizedUsers // Matchable\Whop\Resource\AuthorizedUserResource

Endpoints

create(array $data): array

HTTP POST authorized-users
Does Grants a user authorized access to a company.
Parameters $data — attributes (e.g. user ID, company ID, role).
Returns array

list(array $query = []): array

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

get(string $id): array

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

delete(string $id): array

HTTP DELETE authorized-users/{id}
Does Revokes a user's authorized access.
Parameters $id — the authorized user ID.
Returns array

Example

$authorized = $client->authorizedUsers->create([
    'user_id'    => 'user_...',
    'company_id' => 'biz_...',
    'role'       => 'admin',
]);

Reference

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

Clone this wiki locally