Skip to main content

Get User By ID

GET 

/api/v1/external/users/:userId

Overview

This endpoint can be used to get user basic information using user identifier.

API Versioning

This endpoint supports multiple response versions via the x-api-version header.

Version ChangeLogs

VersionChanges
1.01. Initial version of the endpoint, only returns lifetime leaderboard rank and score
1.11. Returns all leaderboard ranks and scores

Usage

  • Default behavior: Returns version 1.0 when no header is provided
  • Explicit version: Use x-api-version: <version> header to get specific version
  • Supported versions: 1.0, 1.1

Request

Responses

Response varies based on x-api-version header. 1.0: Initial version of the endpoint; 1.1: Updated version of the endpoint

Response Headers
    x-api-version

    API version. Supported: 1.0, 1.1