---
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-09-09** `fca481966403`: 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-06-01** `808af89fc071`: 1 info
  - added the required property `anyOf[subschema #1: UserResponse]/notifications` to the response with the `200` status

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

---

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