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

# Get the user.

`GET /users/{userId}`

Get the user.

## Response `200`

The user.

- UserJson — unresolved $ref

## Other responses

- `400` — The request was malformed.
- `401` — Authentication information is missing or invalid
- `403` — The operation is not allowed by current user.
- `404` — The Resource could not be found.
- `5XX` — An internal server error occurred.

## Changes

- **2021-12-14** `41dac4f34d9e` — 1 info
  - endpoint added
- **2021-12-07** `9e60f373a1f0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/envirocar/apis/envirocar-rest-api/changes/users/:userId/get.md)

---

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