Check user vote status

Changed on

Retrieves whether a user has voted for the specified bot in the last 24 hours along with vote details.

get/bots/{id}/voters/{user_id}

Request

  • Base URL
    https://api.discord.place
  • URL
    https://api.discord.place/bots/{id}/voters/{user_id}
  • Auth
    API key in header Authorization

Path parameters

idstring required

A valid Discord Snowflake ID (17–20 digit numeric string).

Example:123456789012345678

Snowflake ID of the Discord entity. (e.g., bot ID, user ID, guild ID)

user_idstring required

A valid Discord Snowflake ID (17–20 digit numeric string).

Example:123456789012345678

The ID of the user to check.

Response

Acknowledgment of successful request.

votedboolean required
voteinteger required
lastVoteinteger nullable required

Example response

{
  "voted": true,
  "vote": 1,
  "lastVote": 1694345400000
}

Changes

    • breaking

      the mandatory response header ratelimit-limit removed for the status 429

    • breaking

      the mandatory response header ratelimit-remaining removed for the status 429

    • breaking

      the mandatory response header ratelimit-reset removed for the status 429

    • breaking

      the response property became nullable for the status

    • info

      added the required property to the response with the status

    • breaking

      the mandatory response header RateLimit-Limit removed for the status 429

    • breaking

      the mandatory response header RateLimit-Remaining removed for the status 429

    • breaking

      the mandatory response header RateLimit-Reset removed for the status 429

    • breaking

      removed the required property from the response with the status