---
title: "Get User By Id"
method: GET
path: "/v1/auth/user/{user_id}"
tags: ["Auth"]
---

# Get User By Id

`GET /v1/auth/user/{user_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/auth/user/{user_id}`
- Auth: none declared

Get user information by ID.

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- UserRead
  - `id` integer, required
  - `email` string, email, required
  - `username` string, nullable
  - `role` string, nullable
  - `profile_picture_filename` string, nullable
  - `profile_picture_content_type` string, nullable
  - `email_verified_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/2e12d4d3c6dd?raw)
