Skip to main content

List Users

GET 

/api/v2/users

Returns a paginated list of users for the current tenant, with Spatie QueryBuilder filtering and sorting. Includes soft-deleted users.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Tenant scoping: Results are restricted to users who are members of the current tenant. The users table lives on the central connection and is shared across all tenants, so without scoping every tenant's settings UI would see every user in the entire installation.

Authentication: Requires Bearer token.

Response notes: Each user includes roles (the user's assigned roles with id, name, description, guard_name) and permissions (a flattened, de-duplicated list of permission names across all assigned roles) — both are always present since the endpoint eager-loads roles with their permissions. features.granular_permissions reflects the per-tenant feature flag; frontends treat anything other than true as OFF.

Request

Responses

OK