Voting Webhook allows your server to receive notifications whenever a user votes.
The URL your server exposes to receive vote notifications. It must accept POST requests and respond with HTTP 200 for successful delivery.
This URL can be configured in the server thread settings when creating or editing the thread.
https://yourserver.com/webhook.php
Each vote will send the following JSON payload:
{
"hash": "md5({webhook_secret}_{username}_{vote_date})",
"username": "ExampleUser",
"user_id": 123,
"vote_date": 1700000000,
"vote_weight": 1
}
A secret string known only to your server and the voting system. It is used to generate the hash to verify authenticity.
The secret is generated automatically. You can regenerate it in thread settings at any time if needed.
md5(webhook_secret + "_" + username + "_" + vote_date)hash from the payload.HTTP 200 OK to confirm the request was accepted..