Developers
V1CommunityChallengesIdLeaderboard

Member-only top 20 and your pinned row, with symmetric user blocking

Private participants see their own score with rank=null. total counts visible opted-in participants, not everyone enrolled. Ties are ordered by participantId. Employers receive no extra access.

GET
/v1/community/challenges/{id}/leaderboard
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/v1/community/challenges/497f6eca-6276-4993-bfeb-53cbbbba6f08/leaderboard"
{  "top": [    {      "participantId": "9f6624b5-5f99-42b6-899f-30f2b369cbd7",      "alias": "string",      "steps": 0,      "rank": 1,      "isViewer": true,      "provisional": true,      "rewardEligible": false    }  ],  "viewer": {    "participantId": "9f6624b5-5f99-42b6-899f-30f2b369cbd7",    "alias": "string",    "steps": 0,    "rank": 1,    "isViewer": true,    "provisional": true,    "rewardEligible": false  },  "pinned": {    "participantId": "9f6624b5-5f99-42b6-899f-30f2b369cbd7",    "alias": "string",    "steps": 0,    "rank": 1,    "isViewer": true,    "provisional": true,    "rewardEligible": false  },  "total": 0,  "updatedAt": "2019-08-24T14:15:22Z",  "provisional": true,  "rewardEligible": false}