---
title: "List all users with optional filters"
method: GET
path: "/api/v1/users"
tags: ["crm"]
---

# List all users with optional filters

`GET /api/v1/users`

## Query parameters

- `ids` string[], nullable
- `page` number
- `limit` number
- `teamId` string
- `teamIds` string[]
- `excludeTeamId` string
- `manageable` 'true'
- `name` string
- `searchString` string
- `search` string
- `role` 'Owner' | 'Manager' | 'Editor' | 'Member' | 'Assistant User'
- `createdAfter` string, date-time
- `createdBefore` string, date-time
- `order` object
  - `createdAt` 'ASC' | 'DESC'
  - `lastLoginDate` 'ASC' | 'DESC'
  - `name` 'ASC' | 'DESC'
  - `roles` 'ASC' | 'DESC'

## Response `201`

- UsersFindAllUsersResponseDTO
  - `data` object[], required
    - `createdAt` string, date-time, required — The date when the user was created
    - `email` string, nullable — The email address of the user
    - `enabled` boolean, required — Whether the user account is enabled
    - `firstName` string, nullable — The first name of the user
    - `id` string, required — The unique identifier of the user
    - `lastLoginDate` string, date-time, nullable — The date when the user last logged in. Omitted from the response when the user has never logged in.
    - `lastName` string, nullable — The last name of the user
    - `pictureUrl` string, nullable — The profile picture URL of the user
    - `roles` string[], nullable — The roles of the user in the organization
    - `teams` object[] — The teams the user belongs to
      - `id` string, required — The unique identifier of the team
      - `name` string, required — The name of the team
  - `meta` object, required
    - `hasNext` boolean, required
    - `limit` number, required
    - `page` number, required
    - `total` number, required

---

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