steam_uploadLeaderboardScore
Upload player scores to Steam leaderboards using the partner API. Specify score update behavior with KeepBest or ForceUpdate.
Instructions
Upload a score to a Steam leaderboard via the partner API. Requires a publisher API key with server IP allowlisted in Steamworks partner settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | Steam application ID | |
| leaderboardid | Yes | Numeric leaderboard ID | |
| steamid | Yes | 64-bit Steam ID of the player | |
| score | Yes | Score to upload (interpretation depends on leaderboard sort method) | |
| scoremethod | No | KeepBest only updates if better than existing; ForceUpdate always overwrites (default: KeepBest) |