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

# Get user

`GET /users/{userId}`

Returns a user with his basic information

## Path parameters

- `userId` integer, required

## Response `200`

Success

- UserDto
  - `phone` string, nullable
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `id` integer
  - `profileId` string, nullable
  - `email` string, nullable
  - `pictureUrl` string, nullable
  - `organizations` OrganizationDto[], nullable
    - `id` integer
    - `name` string, nullable
    - `pictureUrl` string, nullable
    - `role` 0 | 1 | 2 | 3 | 4 — Viewer = 0 User = 1 SuperUser = 2 Admin = 3 SuperAdmin = 4
  - `isMFAEnabled` boolean, nullable
  - `termsOfUseAccepted` boolean
  - `created` string, date-time
  - `updated` string, date-time, nullable

---

[API](https://skmtc.net/diabatix/apis/identity-api.md) · [All operations](https://skmtc.net/diabatix/apis/identity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/diabatix/identity-api/versions/81fb509120cf/schema)
