---
title: "List users"
method: GET
path: "/users"
tags: ["Users"]
---

# List users

`GET /users`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/users`
- Auth: API key in header `X-ESCAPE-API-KEY`

List users of the organization. Filter by activation status with `deactivated`, and search by email with `search`. Pass `cursor` and `size` to page through the members: without them the whole organization is returned, as before.

## Query parameters

- `cursor` string: The cursor to start the pagination from. Returned by the previous page response. If not provided, the first page will be returned.
- `size` integer: The number of items to return per page
- `deactivated` 'true' | 'false': Filter by activation status: `true` returns only deactivated users, `false` only active ones. Omit to return both.
- `search` string: Search users whose email contains this value

## Response `200`

OK

- object[]
  - `id` string, uuid, required: The id of the user
  - `email` string, email, required: The email of the user
  - `createdAt` string, date-time, required: The date and time the user was created
  - `activatedAt` string, date-time, nullable, required: The date and time the user was activated
  - `deactivatedAt` string, date-time, nullable, required: The date and time the user was deactivated
  - `firstLoginAt` string, date-time, nullable, required: The date and time the user first logged in
  - `lastLoginAt` string, date-time, nullable, required: The date and time the user last logged in
  - `roleBindings` object[], required: The role bindings of the user
    - `id` string, uuid, required: The id of the role binding
    - `createdAt` string, date-time, required: The date and time the role binding was created
    - `roleId` string, uuid, required: The id of the role bound by the role binding
    - `projectId` string, uuid, nullable: The id of the project bound by the role binding
    - `userId` string, uuid, required: The id of the user bound by the role binding

## Other responses

- `400`: Pagination error

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
