---
title: "Get a user."
method: GET
path: "/v1/users/{userId}"
tags: ["Users"]
---

# Get a user.

`GET /v1/users/{userId}`

## Path parameters

- `userId` string, required

## Response `200`

- object
  - `data` object
    - `created_at` string
    - `email` string
    - `first_name` string
    - `id` string
    - `kratos_id` string
    - `last_name` string
    - `roles` string
    - `updated_at` string
    - `username` string
  - `status` 'success'

## Other responses

- `400` — Fail due to resource not exists
- `500` — Unexpected error occurred

## Changes

- **2024-02-22** `c4775ce96bb0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/improwised/apis/untitled-api/changes/v1/users/:userId/get.md)

---

[API](https://skmtc.dev/improwised/apis/untitled-api.md) · [All operations](https://skmtc.dev/improwised/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/improwised/untitled-api/revisions/8bb92f43f12a/schema)
