---
title: "Get user by user name"
method: GET
path: "/users/{username}"
tags: ["user"]
---

# Get user by user name

`GET /users/{username}`

## Path parameters

- `username` string, required

## Response `200`

successful operation

- User
  - `id` integer
  - `username` string
  - `firstName` string
  - `lastName` string
  - `email` string
  - `password` string
  - `phone` string
  - `userStatus` integer — User Status

## Other responses

- `400` — Invalid username supplied
- `401` — Access token is missing or invalid
- `404` — User not found

---

[API](https://skmtc.dev/packtpublishing/apis/swagger-store.md) · [All operations](https://skmtc.dev/packtpublishing/apis/swagger-store/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/packtpublishing/swagger-store/revisions/f94aceed91bc/schema)
