Vote for a server

Cast a vote for a server. Limited to 1 vote per IP per server every 12 hours.

POST
/vote
X-API-KEY<token>

Vote API key. Get your Vote API key from the dashboard at /settings/developer

In: header

serverId?string

The UUID of the server to vote for

slug?string

The slug of the server to vote for (alternative to serverId)

name?string

The name of the server to vote for (alternative to serverId/slug)

Response Body

curl -X POST "https://api.emudevs.gg/vote" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true,
  "votes": 0,
  "nextVoteAt": "2019-08-24T14:15:22Z",
  "message": "string"
}
Empty
Empty
Empty
Empty