---
title: "Get User details"
method: GET
path: "/auth/api/v1/user/{userId}"
tags: ["users"]
---

# Get User details

`GET /auth/api/v1/user/{userId}`

Returns user details by specified user id.

## Path parameters

- `userId` string, required

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgAuthApiGetUserResponse
  - `blocked` boolean — Is the user blocked or not
  - `createdAt` string — Creation timestamp in UTC
  - `email` string — Email address of the user
  - `email_verified` boolean — Is email verified or not
  - `id` integer — Unique identifier for the user
  - `last_activity` string — Last activity timestamp in UTC
  - `role_name` 'admin' | 'editor' | 'viewer'
  - `username` string — Username

---

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