---
title: "Returns user by its ID"
method: GET
path: "/users/{id}"
tags: ["users"]
---

# Returns user by its ID

`GET /users/{id}`

Returns user object

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- User
  - `id` integer
  - `user_name` string
  - `userID` string
  - `role` string
  - `realName` string

## Other responses

- `404` — User not found
- `406` — Invalid id format

## Changes

- **2019-03-20** `da06240b33aa` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2019-03-13** `a0fad9e3d214` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2019-03-13** `ea0deca478db` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/changes/users/:id/get.md)

---

[API](https://skmtc.dev/maddevsio/apis/mad-devs-comedian.md) · [All operations](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maddevsio/mad-devs-comedian/revisions/da06240b33aa/schema)
