Skip to main content
Use this endpoint to verify a user’s vote status before granting in-bot perks or rewards. A user who voted fewer than 24 hours ago is considered an active voter.

Endpoint

Authentication: Required — pass your API key in the Authorization header.
See Authentication for details.

Path Parameters

string
required
The Discord snowflake ID of your bot (a 17–20 digit numeric string).Example: 123456789012345678
string
required
The Discord snowflake ID of the user whose vote status you want to check.Example: 987654321098765432

Code Examples

Responses

200 — Success

boolean
required
true if the user cast a vote within the last 24 hours, false otherwise.
integer
required
The user’s total cumulative vote count for this bot across all time. Returns 0 if the user has never voted.
integer
required
Unix timestamp in milliseconds of the user’s most recent vote. Returns null if the user has never voted.Example: 1694345400000

Error Responses

Tips

For real-time vote notifications without polling, set up a Vote Webhook. The webhook fires immediately when a vote is cast, whereas this endpoint requires you to query on demand.