---
title: "Get the currently authenticated user"
method: GET
path: "/auth/user"
tags: ["Auth"]
---

# Get the currently authenticated user

`GET /auth/user`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/auth/user`
- Auth: none required

## Response `200`

Auth status resolved successfully.

- AuthUserEnvelope
  - `user` AuthUser, nullable, required
    - `id` integer, required
    - `displayName` string, required
    - `email` string, nullable
    - `avatarUrl` string, nullable
    - `roles` string[], required

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-18** `518dcf68679a`: 2 breaking, 3 info
  - the response property `user` became nullable for the status `200`
  - the `user` response's property type changed from no type to `object, null` for status `200`
  - added the non-success response with the status `401`
  - added `#/components/schemas/AuthUser` to the `user` response property `allOf` list for the response status `200`
  - …1 more
- **2026-03-30** `12085561b059`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/auth/user/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
