⬆️Server Score Report
Send scores securely
Last updated
Send scores securely
Last updated
If you have a backend you can report scores from your server.
POST
https://api.galaxysdk.com/api/v1/server/report_scores
The server endpoint allows you to update a player's score on one or multiple leaderboards. Each index in the scores array corresponds to the index in the leaderboard array. For example,
leaderboard_ids: [first_leaderboard, second_leaderboard]
scores: [155, 120]
would update this player's score to 155
on first_leaderboard
and 120
on second_leaderboard
.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Secret-Key*
String
Your server API Key
player_id*
String
Galaxy Player ID
scores*
[Double]
Array of corresponding scores for each leaderboard ID
leaderboard_ids*
[String]
Array of leaderboard IDs to update
level_ids
[String]
Optionally specify level IDs for each score