Votes, webhooks and bots
Everything here is set up per listing from your dashboard.
Vote webhooks
Section titled “Vote webhooks”Give a listing a webhook URL and every vote it gets is sent there, as it
happens. The URL must be https://.
A Discord webhook URL (https://discord.com/api/webhooks/…) gets a chat
message in that channel:
@voter voted for **Your Server** on discord.sh (42 this month)The voter is named but never pinged.
Any other https URL gets a JSON POST:
POST /your/endpointAuthorization: <your listing secret>Content-Type: application/json
{ "type": "vote", "listing_id": "900000000000000001", "kind": "server", "user": "123456789012345678", "month_votes": 42, "at": "2026-10-30T12:00:00Z"}user is the voter’s Discord user ID. Check the Authorization header against
the secret shown in your dashboard before you trust a request: anyone can post
to a public URL. Rotating the secret makes a new one at once, so update your
check when you do.
Deliveries are not retried and do not follow redirects; answer within 5 seconds. The dashboard shows the last delivery’s status and time. After 50 failures in a row delivery stops; saving the webhook again, even unchanged, resets the count and turns it back on.
Vote badge
Section titled “Vote badge”Each listing has a badge showing its votes this month, for a README or a website:
[](https://discord.sh/s/<id>)The dashboard’s Badge panel has the snippet ready to copy. It refreshes every few minutes.
Bumping
Section titled “Bumping”A bump moves a live listing to the top of the recently bumped sort. Anyone signed in can bump: each listing can be bumped once every 2 hours, and each person can bump 10 times a day across all listings.
Reviews
Section titled “Reviews”Reviews are a star rating with an optional comment, one per person per listing, and you must vote for a listing before reviewing it. Owners cannot review their own listing, but can reply once to each review.
Vote reminders
Section titled “Vote reminders”Turn on a reminder on a listing’s page and you are sent a Discord DM when you can vote for it again. Reminders need a Discord sign-in, and Discord only lets our bot DM you when you share a server with it; if you do not, the reminder is skipped quietly.
Bots are listed from List a bot with the bot’s ID; its name and avatar come from Discord. Staff review every bot before it goes live; until then it shows as pending in your dashboard.
Posting your server count
Section titled “Posting your server count”A bot can post its server count with its listing secret, the same one the vote webhook uses (shown under Webhook in your dashboard):
curl -X POST https://discord.sh/api/v1/ballot/bots/<bot id>/stats \ -H 'Authorization: <your listing secret>' \ -H 'Content-Type: application/json' \ -d '{"server_count": 1234}'shard_count may be sent alongside. A wrong secret is answered 401; success
is 204 with no body. Posting once an hour is plenty.