---
title: "Get user by ID"
method: GET
path: "/users/{user_id}"
tags: ["users"]
---

# Get user by ID

`GET /users/{user_id}`

## Request

- Base URL: `https://api.opal.dev/v1`
- URL: `https://api.opal.dev/v1/users/{user_id}`
- Auth: HTTP bearer

Returns a `User` object.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

The requested `User`.

- User: # User Object ### Description The `User` object is used to represent a user. ### Usage Example Fetch from the `LIST Sessions` endpoint.
  - `user_id` string, uuid, required: The ID of the user.
  - `email` string, required: The email of the user.
  - `full_name` string, required: The full name of the user.
  - `first_name` string, required: The first name of the user.
  - `last_name` string, required: The last name of the user.
  - `position` string, required: The user's position.
  - `manager_id` string, uuid, nullable: The ID of the user's manager. Null if the user has no manager.
  - `hr_idp_status` 'ACTIVE' | 'SUSPENDED' | 'DEPROVISIONED' | 'DELETED' | 'NOT_FOUND': User status pulled from an HR/IDP provider.

## Other responses

- `404`: The user was not found.

## Changes

- **2026-09-24** `9ac628dcda14`: 1 info
  - api operation id `getUser` removed and replaced with `getUserByID`
- **2026-09-19** `3e78facda4c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/opal/apis/opal-api/changes/users/:user_id/get.md)

---

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