---
title: "Get a user"
method: GET
path: "/v2/golang/user"
tags: ["user"]
---

# Get a user

`GET /v2/golang/user`

get user by user id

## Path parameters

- `userId` string, required

## Response `200`

OK

- ResponseErrorResponse
  - `cause` string
  - `code` integer

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/mindinventory/apis/golang-program-structure.md) · [All operations](https://skmtc.dev/mindinventory/apis/golang-program-structure/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mindinventory/golang-program-structure/revisions/6d2773dbe07f/schema)
