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

# Get user by ID

`GET /users/{id}`

Returns detailed information about a specific user, including their profile data. You can only access users you have a connection with.

## Path parameters

- `id` integer, required

## Response `200`

User details

- UserDetailResponse
  - `ok` true, required
  - `data` UserDetail, required — Extended user details (same as summary, profile fields are flat)
    - `id` integer — Internal user ID
    - `username` string, nullable — User's unique username (from profile)
    - `accountType` 'user' | 'support' | 'admin' | 'superadmin' — Account type
    - `subscriptionTier` 'ultra' | 'pioneer' | 'founder' | 'employee', nullable — Subscription tier (null if no subscription)
    - `league` integer — Current league tier
    - `rank` integer — Leaderboard rank
    - `totalPoints` integer — Lifetime points earned
    - `matchPoints` integer — Points in current match period
    - `profileImage` string, nullable — URL to user's profile image
    - `profileDescription` string, nullable — User's profile bio/description
    - `profileTitle` string, nullable — User's profile title
    - `dttTotalReps` integer — Lifetime total Deepthroat Trainer repetitions across all sessions owned by this user.
    - `dttTotalSessions` integer — Lifetime count of Deepthroat Trainer sessions owned by this user.

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication required or token invalid
- `404` — User not found

---

[API](https://skmtc.net/researchanddesire/apis/research-and-desire-api.md) · [All operations](https://skmtc.net/researchanddesire/apis/research-and-desire-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/researchanddesire/research-and-desire-api/versions/9c6dc82bb579/schema)
