Skip to main content
GET
/
users
/
{id}
Get user by ID
curl --request GET \
  --url https://dashboard.researchanddesire.com/api/v1/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "id": 42,
    "username": "alice_trainer",
    "accountType": "user",
    "subscriptionTier": "ultra",
    "league": 3,
    "rank": 150,
    "totalPoints": 12500,
    "matchPoints": 800,
    "profileImage": "https://example.com/avatar.jpg",
    "profileDescription": "Hello world",
    "profileTitle": "Expert Trainer"
  }
}

Authorizations

Authorization
string
header
required

API tokens can be created in the Dashboard settings. Requires an Ultra subscription.

Path Parameters

id
integer
required

The user's internal ID

Required range: x >= 1
Example:

42

Response

User details

ok
boolean
required
data
object
required

Extended user details (same as summary, profile fields are flat)