⬆️Server Score Report
Send scores securely
⬆️ Report a score from your server
If you have a backend you can report scores from your server.
Report Player Scores
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
.
Headers
Name | Type | Description |
---|---|---|
Secret-Key* | String | Your server API Key |
Request Body
Name | Type | Description |
---|---|---|
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 |
Last updated