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

# Get a user.

`GET /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
  - `status` 'success'

## Other responses

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

## Changes

- **2024-02-08** `a2179d15ad2f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/improwised/apis/untitled-api/changes/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/a2179d15ad2f/schema)
