steam_uploadLeaderboardScore
Upload or update a player's score on a Steam leaderboard using the partner API. Requires a publisher key and IP allowlist; dry-run previews the request before confirmation.
Instructions
MUTATES LIVE LEADERBOARD ENTRY. Default dry_run=true; requires confirm=true to send. 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 | |
| score | Yes | Score to upload (interpretation depends on leaderboard sort method) | |
| confirm | No | Required true when dry_run is false. Refuses otherwise. | |
| dry_run | No | If true (default), return the planned request without contacting Steam | |
| steamid | Yes | 64-bit Steam ID of the player | |
| scoremethod | No | KeepBest only updates if better than existing; ForceUpdate always overwrites (default: KeepBest) | |
| leaderboardid | Yes | Numeric leaderboard ID |