---
title: "Get Details of user."
method: GET
path: "/v1/user/who"
tags: ["User"]
---

# Get Details of user.

`GET /v1/user/who`

## Response `200`

- object
  - `data` object
    - `created_at` string
    - `email` string
    - `first_name` string
    - `id` string
    - `img_key` string
    - `kratos_id` NullString — var s NullString err := db.QueryRow("SELECT name FROM foo WHERE id=?", id).Scan(&s) ... if s.Valid { use s.String } else { NULL value }
      - `String` string
      - `Valid` boolean
    - `last_name` string
    - `roles` string
    - `updated_at` string
    - `username` string
  - `status` string

## Other responses

- `401` — Server understand request but refuse to authorize it
- `500` — Unexpected error occurred

---

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