---
title: "Get User"
method: GET
path: "/api/user"
tags: ["user"]
---

# Get User

`GET /api/user`

## Request

- The document declares no server URL.
- Auth: none declared

Returns the current logged-in user's information.

Reads user info from the session or token.

Returns:
    JSON object with user claims if authenticated.

Raises:
    HTTPException 401 if user not authenticated.

## Response `200`

Successful Response

- UserResponse, nullable: User information to send to the client.
  - `id` string, uuid, required
  - `username` string, required
  - `jurisdiction_id` string, required
  - `notifications` NotificationsToRender, required: Map of booleans for each of the notificaiton keys as to whether to render frontend banners.
    - `to_render` object, required

## Changes

- **2026-07-09** `54404c2e2d35`: 1 warning
  - added the new `most_recent_tes_update` enum value to the `anyOf[subschema #1: UserResponse]/notifications/to_render/propertyNames/` response property for the response status `200`
- **2026-05-18** `159b89a85050`: 1 breaking, 1 info
  - removed the required property `anyOf[subschema #1: UserResponse]/notifications/most_recent_app_update` from the response with the `200` status
  - added the required property `anyOf[subschema #1: UserResponse]/notifications/to_render` to the response with the `200` status
- **2026-05-14** `cf6caa7f744d`: 1 info
  - added the required property `anyOf[subschema #1: UserResponse]/notifications` to the response with the `200` status
- **2025-10-20** `b371693a80e3`: 1 info
  - added the required property `anyOf[subschema #1: UserResponse]/jurisdiction_id` to the response with the `200` status
- **2025-08-21** `3dd66f8a5ab6`: 2 info
  - added `#/components/schemas/UserResponse` to the response body `anyOf` list for the response status `200`
  - removed `#/components/schemas/User` from the response body `anyOf` list for the response status `200`

[Operation history](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/changes/api/user/get.md)

---

[API](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner.md) - [All operations](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/llms.txt) - [OpenAPI document](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/revisions/7312cd4b44ac?raw)
