Leaderboards
List leaderboards
GET
/v1/leaderboardsEvery live leaderboard the player may see, with their own rank and score on each. A player the environment has never seen gets the list everyone starts with, unranked.
Authorization
ApiKey AuthorizationBearer <token>
Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.
In: header
Query Parameters
playerId?string
languageCode?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/leaderboards"[ { "leaderboardKey": "string", "name": "string", "description": null, "images": { "property1": "string", "property2": "string" }, "scoreSource": "Event", "aggregation": null, "rankOrder": "HighestFirst", "ranksTeams": true, "resolution": "TimeLimit", "scoreTarget": null, "period": { "startsAtUtc": "2019-08-24T14:15:22Z", "endsAtUtc": "2019-08-24T14:15:22Z" }, "isLocked": true, "unlockMessage": null, "requiresOptIn": true, "isRegistered": true, "registeredPlayers": null, "participants": 0, "me": null, "team": null }]