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

# Get a user by its ID

`GET /users/{id}`

Returns a single user by ID.

**Rate limit:** 60 requests per minute

## Path parameters

- `id` string, required

## Response `200`

- GetUserResponseBody
  - `data` User
    - `avatar_url` string — The avatar URL of the user.
    - `email` string — The primary email of the user.
    - `emails` string[] — The list of all emails of the user.
    - `id` string — The ID of the user.
    - `name` string — The name of the user.
    - `role` MiniRole
      - `id` string — The ID of the role.
      - `name` string — The name of the role.
      - `slug` string — The slug of the role.
    - `role_id` string — The role_id of the user.
    - `status` string — The status of the user.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/999c51740b4e/schema)
