Has Voted?



This api can be used to check if a specific user has voted for your bot in the past 12 hours.

GET    https://api.botlist.me/api/v1/bots/:id/voted

Request

Path ParametersTypeRequiredDescription
idintegeryesID of bot to check
HeadersTypeRequiredDescription
authorizationstringyesBot Auth token that can be found by editing your bot
Query ParametersTypeRequiredDescription
userIdintegeryesUser ID of the user to check

Response

200 OK

hasVoted: boolean indicates if a user has voted in the last 12 hours.
timestamp: timestamp, The timestamp at which the user has last voted.

{
  "hasVoted": true,
  "timestamp": "2021-07-09T13:31:44.876+00:00"
}