GET
/
votes
/
{user_id}
curl --request GET \
  --url https://api.guilds.me/v1/votes/{user_id} \
  --header 'Guilds-Api-Key: <api-key>' \
  --header 'Guilds-App-Id: <api-key>'
{
  "voted": true,
  "remaining": 123
}

Authorizations

Guilds-Api-Key
string
header
required

API Key specific to each guild

Guilds-App-Id
string
header
required

App ID specific to each guild

Path Parameters

user_id
string
required

The unique Discord user ID (snowflake).

Response

200
application/json
User Vote response
voted
boolean

Whether or not this user has an active vote

remaining
integer | null

The time remaining of this users vote in miliseconds