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

# Get user by ID

`GET /users/{id}`

## Request

- Base URL: `https://dashboard.researchanddesire.com/api/v1`
- URL: `https://dashboard.researchanddesire.com/api/v1/users/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `/oauth/authorize`
    - Token URL: `/oauth/token` scopes: `profile:read`

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

## Changes

- **2026-09-22** `2411203b3c10`: 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `oauth2` was added to the API

[Operation history](https://skmtc.dev/researchanddesire/apis/research-and-desire-api/changes/users/:id/get.md)

---

[API](https://skmtc.dev/researchanddesire/apis/research-and-desire-api.md) - [All operations](https://skmtc.dev/researchanddesire/apis/research-and-desire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/researchanddesire/apis/research-and-desire-api/revisions/682fc4d7f6d5?raw)
