---
title: "Get current user information"
method: GET
path: "/api/v1alpha/userinfo"
tags: ["Authentication"]
---

# Get current user information

`GET /api/v1alpha/userinfo`

## Response `200`

User information retrieved successfully

- UserInfo
  - `id` integer — User's unique identifier
  - `username` string — User's username
  - `login_id` string — User's login identifier
  - `state` 'creating' | 'active' | 'deleting' | 'deleted' — Current state of the user account
  - `system_permissions` object — Map of system permission names to whether the user has that permission
  - `is_service_account` boolean — Whether this is a service account
  - `hail_identity` string, nullable — User's Hail identity

## Other responses

- `401` — Unauthorized

## Changes

- **2026-05-07** `dec799c0b6cd` — 1 warning, 1 info
  - removed the optional property `is_developer` from the response with the `200` status
  - added the optional property `system_permissions` to the response with the `200` status
- **2025-04-16** `187d5f64b759` — 1 warning, 1 info
  - removed the optional property `system_permissions` from the response with the `200` status
  - added the optional property `is_developer` to the response with the `200` status

[Change history](https://skmtc.dev/hail-is/apis/hail-auth-service/changes/api/v1alpha/userinfo/get.md)

---

[API](https://skmtc.dev/hail-is/apis/hail-auth-service.md) · [All operations](https://skmtc.dev/hail-is/apis/hail-auth-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hail-is/hail-auth-service/revisions/ec7e68cd907c/schema)
