---
title: "Get all users"
method: GET
path: "/users"
tags: ["users"]
---

# Get all users

`GET /users`

Return the list of users

**Permission required:** edit_users

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- UserModelGet[]
  - `active` boolean, required — Inactive users have to reset their password first
  - `confirmed_at` string, date-time
  - `id` string, required
  - `roles` UserRoleModel[], required — the user roles
    - `document_id` string — limited to a document
    - `inbox` string
    - `role` string, required
  - `username` string, required — the user username

## Other responses

- `403` — Permission insufficient

---

[API](https://skmtc.net/contractp/apis/contract-p.md) · [All operations](https://skmtc.net/contractp/apis/contract-p/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contractp/contract-p/revisions/8ce53ebd6bd3/schema)
