capabilities.work

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.

  1. Confirm the leaderboard exists and read its sort order before submitting a score.
  2. Submit or update the player's score on the leaderboard.
  3. 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.