Leaderboard Submit Score and Read Rank
A 3-step recipe with Unity. We can help you get access.
Recipe · 3 steps
Leaderboard Submit Score and Read Rank
with Unity
Verify a leaderboard, submit a score, and read the player's rank.
- Confirm the leaderboard exists and read its sort order before submitting a score.
- Submit or update the player's score on the leaderboard.
- Read the player's current score and rank on the leaderboard for display.
What you'll need to have ready
- accessToken: Bearer JWT for the player or service account.
- projectId: The Unity project identifier.
- environmentId: The Unity environment identifier.
- leaderboardId: The target leaderboard id.
- playerId: The player submitting the score.
- score: The score value to submit.
- metadata: Optional metadata to store alongside the score (up to 255 characters).
For your developer
Arazzo workflow unity:leaderboard-submit-score, 3 operations: getLeaderboard → addLeaderboardPlayerScore → getLeaderboardPlayerScore. Specs on APIs.io.