steam_setAchievement
Unlock a specified achievement for a Steam player via the partner API. Use dry run first, then confirm with true to apply changes; designed for development and testing.
Instructions
MUTATES LIVE ACHIEVEMENT STATE. Default dry_run=true; requires confirm=true to send. Set (unlock) an achievement for a player via the partner API. Intended for dev/test use. Requires a publisher API key with server IP allowlisted in Steamworks partner settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | Steam application ID | |
| 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 | |
| achievement | Yes | Achievement API name (e.g. ACH_BEAT_LEVEL_1). Must match a name configured in Steamworks. |