---
title: "Returns the User with the given ID if it exists"
method: GET
path: "/user/by_id/{user_id}"
tags: ["user"]
---

# Returns the User with the given ID if it exists

`GET /user/by_id/{user_id}`

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- PublicUserRead — A user object with information that everybody may see.
  - `id` integer, required — ID of the User
  - `first_name` string, required — First name of the User
  - `last_name` string, required — Last name of the User

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
