---
title: "Get user details"
method: GET
path: "/api/users/{userId}"
tags: ["Users"]
---

# Get user details

`GET /api/users/{userId}`

Retrieves a specific user by their unique identifier

## Path parameters

- `userId` string, required

## Response `200`

The user account details

- UserDTO — Data Transfer Object for a user. Represents a user with their personal information, login credentials, preferences, and display name.
  - `id` string, required — The unique identifier of the entity.
  - `creationDate` string — Represents an instant in time as an ISO 8601 string.
  - `lastEditInstant` string — 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.

## Changes

- **2026-03-18** `d6e364e3cd4e` — 4 breaking, 2 info
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `createdBy` from the response with the `200` status
  - removed the required property `updatedAt` from the response with the `200` status
  - removed the required property `updatedBy` from the response with the `200` status
  - …2 more
- **2026-03-17** `3bf1b221f6ef` — 2 warning, 4 info
  - removed the optional property `creationDate` from the response with the `200` status
  - removed the optional property `lastEditInstant` from the response with the `200` status
  - added the required property `createdAt` to the response with the `200` status
  - added the required property `createdBy` to the response with the `200` status
  - …2 more
- **2026-03-10** `88f262299d5e` — 4 warning, 2 info
  - removed the optional property `createdAt` from the response with the `200` status
  - removed the optional property `createdBy` from the response with the `200` status
  - removed the optional property `updatedAt` from the response with the `200` status
  - removed the optional property `updatedBy` from the response with the `200` status
  - …2 more
- …earlier changes not shown

[Full history](https://skmtc.dev/optimistiksas/apis/oibus-api/changes/api/users/:userId/get.md)

---

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