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

# Get a user

`GET /v1/users/{id}`

## Request

- Base URL: `https://api.capacity.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.capacity.com/v1/users/{id}`
- Auth: one of:
  - API key in header `x-capacity-id`
  - HTTP bearer

Retrieve a user record by id.

## Path parameters

- `id` string, required

## Response `200`

The requested user

- object
  - `body` object: Json body data in the request
  - `parameters` object: Query parameters in the request
  - `id` string
  - `first_name` string
  - `last_name` string
  - `email` string
  - `is_deleted` unknown
  - `custom1` string, nullable
  - `custom2` string, nullable
  - `groups` GroupGetSchema[]
    - `id` string: ID of a group record
    - `name` string: The group's name
  - `attributes` UserAttributeGetSchema[]
    - `key` string: Attribute key
    - `value` string: Attribute value

---

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