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

# Search users

`GET /api/users`

Searches for users with optional filtering by login name

## Query parameters

- `login` string, required
- `page` number, double, required

## Response `200`

Paginated list of user accounts

- PageUserDTO — Represents a paginated response containing an array of elements.
  - `content` UserDTO[], required — The content of the page - an array of elements.
    - `id` string, required — The unique identifier of the entity.
    - `createdBy` UserInfo, required — Represents the user who performed an action, with a computed display name.
      - `id` string, required — The unique identifier of the user.
      - `friendlyName` string, required — A human-readable display name for the user. "OIAnalytics" for the oianalytics system user, "Admin" for the admin login, or "Firstname Lastname (login)" for regular users.
    - `updatedBy` UserInfo, required — Represents the user who performed an action, with a computed display name.
      - `id` string, required — The unique identifier of the user.
      - `friendlyName` string, required — A human-readable display name for the user. "OIAnalytics" for the oianalytics system user, "Admin" for the admin login, or "Firstname Lastname (login)" for regular users.
    - `createdAt` string, required — Represents an instant in time as an ISO 8601 string.
    - `updatedAt` string, required — Represents an instant in time as an ISO 8601 string.
    - `login` string, required — The login username of the user.
    - `firstName` string, nullable, required — The first name of the user. Can be `null` if not provided.
    - `lastName` string, nullable, required — The last name of the user. Can be `null` if not provided.
    - `email` string, nullable, required — The email address of the user. Can be `null` if not provided.
    - `language` 'fr' | 'en', required — Type representing a supported language.
    - `timezone` string, required — Represents a timezone as an IANA timezone string.
    - `friendlyName` string, required — The friendly display name of the user.
  - `totalElements` number, double, required — The total number of elements across all pages.
  - `size` number, double, required — The size of the page, i.e., the maximum number of elements per page.
  - `number` number, double, required — The number of the current page, starting at 0.
  - `totalPages` number, double, required — The total number of pages (which can be 0 if there are no elements).

---

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