DiscordBots.gg
  • API
  • Vote Webhooks
Powered by GitBook
On this page
  • Getting Voting WebHooks
  • Webhook response

Was this helpful?

Vote Webhooks

PreviousAPI

Last updated 3 years ago

Was this helpful?

Getting Voting WebHooks

Setting your web hooks is rather straight forward. Provide us the webhook URL and a auth token of your choice (That is sent to you, upon a vote so you can confirm the origins.) so we can send you a user id.

Set your Webhook URL:

Please navigate to your bot's edit page. Then to 'Vote Settings', just like the below provide two variables. The Webhook URL and the Token to be provided upon a vote.

Webhook response

{
    "user": "3666893697313584852",
    "secret": "SuperSecretWebhookTokenID"
}