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

# Get user

`GET /v1/users/{userId}`

Returns a single user's details by ID, including name, email, and role.

## Path parameters

- `userId` string, required

## Response `200`

User

- object
  - `user` object
    - `_id` string
    - `name` string
    - `email` string
    - `role` string
    - `isRoot` boolean
    - `profileAccess` string[]

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Resource not found

---

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