Create leaderboards
Create leaderboards. Maximum 100 leaderboards per request.
Authorizations
Headers
The tenant identifier for multi-tenant organisations. Required when the organisation has multi-tenancy enabled. Pass your own internal customer ID for the tenant. Ignored for single-tenant organisations.
Body
Array of leaderboards to create.
1 - 100 elementsThe leaderboard name.
"Revenue Champions"
The leaderboard key. Only alphanumeric characters, hyphens, and underscores are permitted.
^[a-zA-Z\d-_]+$"revenue-champions"
What the leaderboard ranks by.
metric, streak, points "metric"
The leaderboard description.
"Ranked by monthly revenue"
The initial user-facing status. Defaults to inactive. Use scheduled for leaderboards that should be active in the future and finished only when creating a leaderboard with an end date in the past.
inactive, active, scheduled, finished "inactive"
The metric ID to rank by when rankBy is metric.
The points system ID to rank by when rankBy is points.
The maximum number of participants. Defaults to 1000.
1 <= x <= 1000100
The leaderboard start date in YYYY-MM-DD format. Defaults to today when omitted.
"2026-04-20"
The optional leaderboard end date in YYYY-MM-DD format.
"2026-05-20"
When set, ranking only counts activity at or after this time of day in the user's timezone (HH:mm format).
^([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?$"09:00"
When set, ranking only counts activity before this time of day in the user's timezone (HH:mm format).
^([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?$"17:00"
The UUIDs of the active user attributes to break rankings down by.
How often the leaderboard repeats. Omit for a non-recurring leaderboard. Streak leaderboards cannot repeat.
day, month, year "month"
The number of runUnits between repeats. Required when runUnit is set.
x >= 11