---
title: "Get user by ID"
url: "https://kongair.terwilligar.com/apis/api-2/versions/7ecc41c8-e20e-4540-bd1e-99665523db29/paths/users-userId/get"
---

> Full API specification: https://kongair.terwilligar.com/apis/api-2/versions/7ecc41c8-e20e-4540-bd1e-99665523db29.md

# Get user by ID

`GET` `/users/{userId}`

## Responses

- `200` - Successful response

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Invalid API Spec
  version: ""
servers:
  - url: htp://localhost:3000
paths:
  /users/{userId}:
    get:
      summary: Get user by ID
      responses:
        "200":
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: interger
                  name:
                    typ: string
```
