Authorizations
Path Parameters
Unique key of the leaderboard as set when created.
Query Parameters
Number of rankings to skip for pagination.
x >= 0Maximum number of rankings to return. Cannot be greater than the size of the leaderboard.
x >= 0Specific run date in YYYY-MM-DD format. If not provided, returns the current run.
When provided, offset is relative to this user's position on the leaderboard. If the user is not found in the leaderboard, returns empty rankings array.
Attribute key and value to filter the rankings by, separated by a colon. For example, city:London. This parameter is required, and only valid for leaderboards with a breakdown attribute.
Response
Successful operation
A leaderboard with its configuration details.
The unique ID of the leaderboard.
"5100fe51-6bce-6j44-b0hs-bddc4e123682"
The user-facing name of the leaderboard.
"Weekly Word Count Challenge"
The unique key used to reference the leaderboard in APIs.
"weekly-words"
What the leaderboard ranks by.
points, streak, metric "metric"
The key of the attribute to break down this leaderboard by.
"country"
The user-facing description of the leaderboard.
"Compete weekly to see who writes the most words"
The start date of the leaderboard in YYYY-MM-DD format.
"2025-01-01"
The end date of the leaderboard in YYYY-MM-DD format, or null if it runs forever.
"2025-12-31"
The maximum number of participants in the leaderboard.
100
The repetition type for recurring leaderboards, or null for one-time leaderboards.
day, month, year "day"
The interval between repetitions, relative to the start date and repetition type.
7
The status of the leaderboard.
active, scheduled, finished "active"
Array of user rankings for the leaderboard.
The key of the metric to rank by, if rankBy is 'metric'.
"words-written"
The name of the metric to rank by, if rankBy is 'metric'.
"Words Written"
The key of the points system to rank by, if rankBy is 'points'.
"xp-system"
The name of the points system to rank by, if rankBy is 'points'.
"Experience Points"