---
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

---

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