---
title: "Get user by username"
method: GET
path: "/api/v1alpha/users/{username}"
tags: ["User Management"]
---

# Get user by username

`GET /api/v1alpha/users/{username}`

## Path parameters

- `username` string, required

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

- `404` — User not found

## Changes

- **2026-07-23** `ec7e68cd907c` — 1 info
  - the endpoint scheme security `developerAuth` was removed from the API
- **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/users/:username/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)
