cURL
curl --request GET \ --url https://{subdomain}.nudj.cx/api/v2/integration/leaderboards/{configId}/position \ --header 'x-api-token: <api-key>'
{ "position": 123, "totalParticipants": 123, "userScore": 123 }
Retrieves the authenticated user’s position and score in the specified leaderboard
^[0-9a-fA-F]{24}$
Successful response
The current user's position and stats on a leaderboard
The user's current rank/position on the leaderboard
The total number of participants in the leaderboard
The user's current score on the leaderboard
Was this page helpful?