---
title: "Get user information"
method: GET
path: "/admin/session/userinfo"
tags: ["admin"]
---

# Get user information

`GET /admin/session/userinfo`

Returns the authenticated user's username and policy

## Response `200`

OK

- ModelUserInfoResp
  - `policy` string[]
  - `username` string

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2025-05-21** `9252e714e560` — 1 info
  - endpoint added
- **2025-02-07** `2e28347b5811` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hust-open-atom-club/apis/untitled-api/changes/admin/session/userinfo/get.md)

---

[API](https://skmtc.dev/hust-open-atom-club/apis/untitled-api.md) · [All operations](https://skmtc.dev/hust-open-atom-club/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hust-open-atom-club/untitled-api/revisions/34214ad5a103/schema)
