cURL
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 }
Check if a user has an active vote
API Key specific to each guild
App ID specific to each guild
The unique Discord user ID (snowflake).
User Vote response
Whether or not this user has an active vote
The time remaining of this users vote in miliseconds
Was this page helpful?