---
title: "List Users"
method: GET
path: "/admin/users"
---

# List Users

`GET /admin/users`

List all users in an organization with their roles.

## Query parameters

- `default_users_only` boolean — If true, only return users with user_type 'default'. If false, return all user types including synthetic and system users.

## Response `200`

Successful Response

- ListUsersResponse — Response for listing users. Attributes: users: List of users with their roles
  - `users` UserWithRoles[], required
    - `id` string, nullable
    - `sub` string, nullable
    - `email` string, required
    - `organization_id` string, nullable, required
    - `organization_roles` string[], required
    - `platform_roles` string[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
