---
title: "Retrieve a specific user's information."
method: GET
path: "/users/{user_id}"
tags: ["Users"]
---

# Retrieve a specific user's information.

`GET /users/{user_id}`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/users/{user_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/users/:user_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a specific [user](#tag/user_model)'s information.

## Path parameters

- `user_id` string, required

## Response `200`

OK

- UserResponse
  - `user` UserItem
    - `type` string
    - `id` string
    - `attributes` User
      - `id` string
      - `name` string
      - `email` string
      - `roles` string[]: The roles for the user. Can be any of the roles defined for the company including custom roles.
  - `message` string

## Other responses

- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
