---
title: "Get a user by ID"
method: GET
path: "/api/v1/users/{userId}"
tags: ["crm"]
---

# Get a user by ID

`GET /api/v1/users/{userId}`

## Path parameters

- `userId` string, uuid, required

## Response `201`

- UsersGetUserResponseDTO
  - `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

---

[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)
