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

# Get user by ID

`GET /users/{userId}`

## Path parameters

- `userId` string, uuid, required — ID for the user

## Response `200`

- UserDetails — Details of a user within an organization.
  - `email` string, required — User's email address
  - `firstName` string, required — User's first name
  - `lastName` string, required — User's last name
  - `organizationRole` 'administrator' | 'bookkeeper' | 'customUser' | 'cardOnlyUser' | 'employee', required — User's role within the organization
  - `userId` string, uuid, required — Unique identifier for the user

## Other responses

- `404` — `userId` not found

---

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