cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-school-leaderboard \ --header 'Content-Type: application/json' \ --data '{ "data": [ { "data": { "data": { "fermionSchoolId": "<string>", "period": "Today", "limit": 250 } } } ] }'
[ { "output": { "status": "ok", "data": { "leaderboardUsers": [ { "rank": 250, "xpTotal": 123, "xpDeltaInPeriod": 123, "fermionUserId": "<string>", "saasUserId": "<string>", "userCreatedAtIso": "2023-11-07T05:31:56Z", "name": "<string>", "username": "<string>", "profilePicUrl": "<string>" } ] } } } ]
Get leaderboard of the top ranking users in your school
Rate limit: Maximum 60 requests in a window of 1m.
API Request Body
Show child attributes
API Response Body