↕️Prize API
Get and award prizes securely
⬇️ Get pending prizes
Get unawarded prizes for a player
Get pending prizes
GET
https://api.galaxysdk.com/api/v1/server/:player_id/prizes
Path Parameters
Name | Type | Description |
---|---|---|
player_id* | String | The player ID |
Headers
Name | Type | Description |
---|---|---|
Secret-Key* | String | Your server API Key |
⬆️ Award a prize
Award a pending prize
Award a prize
POST
https://api.galaxysdk.com/api/v1/server/:player_id/prizes
Path Parameters
Name | Type | Description |
---|---|---|
player_id* | String | The player ID |
Headers
Name | Type | Description |
---|---|---|
Secret-Key* | String | Your server API Key |
Request Body
Name | Type | Description |
---|---|---|
prize_ids* | [String] | Array of Prize IDs to award |
Last updated