steam_grantInventoryItem
Grant inventory items to Steam players using the partner API for dev/test or server-side rewards. Requires publisher API key and allowlisted IP.
Instructions
Grant an inventory item to a player via the partner API. Intended for dev/test or server-side rewards. Requires a publisher API key with server IP allowlisted in Steamworks partner settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | Steam application ID | |
| steamid | Yes | 64-bit Steam ID of the player to grant the item to | |
| itemdefid | Yes | Item definition ID from your Steamworks item schema | |
| quantity | No | Number of items to grant (default: 1) | |
| notify | No | Whether to notify the player of the grant (default: true) |