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

# Returns user by its ID

`GET /v1/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

- `400` — Invalid data format
- `401` — No JWT Token
- `403` — No access to resource
- `500` — Internal Error

## Changes

- **2019-04-09** `5363057b67b0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/changes/v1/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/db207131dfd9/schema)
