PHP
List users
Retrieve users for the authenticated organization
$page = $client->listUsers(new GetApiV1UsersRequest(['limit' => 20, 'email' => 'person@example.com']));listUsers(GetApiV1UsersRequest $request = new GetApiV1UsersRequest(), ?array $options = null): ?ListUsersResponse accepts limit, mutually exclusive cursors, clientId, email, status, and user. Read data and hasMore; continue with the final user ID as startingAfter.
Use email or clientId for a narrow lookup and status for action-state reporting. Do not send both cursor fields. A failed request throws; a successful empty body may return null.