Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion content/resources/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ Instead of requesting our API to see the users who have voted for your bot, you

## Getting Started

Start by setting up your webhook URL in the edit form of your bot on this site, it can be found at https://top.gg/bot/:your-bot-id/webhooks (Replace `:your-bot-id` with your bot's ID!). Once you've entered the URL you want the webhook to be sent to, you're all set! If you need help setting up webhooks inside of your bot don't be afraid to ask in our [discord server](https://discord.gg/dbl) in the `#topgg-api` channel.
### For Bots

Start by setting up your webhook URL in the edit form of your bot on this site, it can be found at https://top.gg/bot/:your-bot-id/webhooks (Replace `:your-bot-id` with your bot's ID!)

### For Servers

Start by setting up your webhook URL in the edit form of your server on this site, it can be found at https://top.gg/servers/:your-server-id/webhooks (Replace `:your-server-id` with your server's ID!. [Here's how you can find your server's id](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-)

Once you've entered the URL you want the webhook to be sent to, you're all set! If you need help setting up webhooks inside of your bot/server don't be afraid to ask in our [discord server](https://discord.gg/dbl) in the `#topgg-api` channel.

## Security

Expand Down