API reference
API reference
Select your platform
No SDKs available
No versions available

Leaderboard

Updated: Oct 30, 2025

Leaderboard

interface Leaderboard
Leaderboards provide a way for a game to keep track of players and their scores in relation to other. The leaderboard object contains information about this leaderboard ID, API name and destination. Lean more about leaderboard on our website.

Properties

NameSummary
apiName
abstract val apiName: String
The API name of this leaderboard. This is a unique string that your application will refer to this leaderboard in your app code.
destination
abstract val destination: Destination?
An optional deep link horizon.platform.richpresence.models.Destination, which means when a user clicks on the leaderboard, they will be taken to this in-app destination.
id
abstract val id: String
The generated GUID of this leaderboard.
json
open val json: String