Webhooks
Get updates from the API without making any requests.
How to setup a server to accept our requests
Your end must have a web server which is public and accessible by any IP address. When an event is dispatched we'll send a event object in a form of JSON data with a Authorization
header.
How to verify our request
It's recommended to verify every request to ensure that's really coming from us. With every request we send to your webhook we will provide an Authorization
header. Header value will be equal to your "Your authorization" token found in the dashboard bellow the DBL webhook URL.
Event object
Event names
Description
vote
Dispatched when a user votes for your bot.
ban
Dispatched when there's a new ban added to the list.
unban
Dispatched when a ban is deactivated or deleted.
Vote event
Ban event
UnBan event
Last updated