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

# List Users

`GET /admin/users`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/admin/users`
- Auth: none declared

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.dev/traversal/apis/traversal-api.md) - [All operations](https://skmtc.dev/traversal/apis/traversal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/traversal/apis/traversal-api/revisions/31e1a8b7cf89?raw)
