Endpoints
Vote API Endpoint
The Vote API endpoint provides the necessary functionality to claim rewards based on voting by players. This section details how to make requests to this endpoint and handle the responses.
Endpoint URL
POST
https://api.teamgames.io/v3/vote/reward/claim
Headers
Header | Type | Description |
---|---|---|
Authorization | string | Bearer token for API key authentication |
Request Body
Request Parameters
Parameter | Description |
---|---|
| The name of the player. |
| The reward identifier. |
| The amount of the reward. |
CURL Example
Here is an example of how to make a request to the Vote API using CURL:
Last updated