Webhook
A webhook is an automatic communication mechanism between two applications or systems. When an event occurs in the source application, the webhook triggers an HTTP request to a specified URL as the webhook endpoint. The data associated with that event is sent through the request, allowing the receiving application to respond and take appropriate action. Webhooks are often used in system integration, notifications, data synchronization, or automatic updates between different applications.
Name | Description |
---|---|
Verification Token | A secret key used to validate the authenticity of the webhook request and prevent fake or manipulated data in the communication between applications. |
Webhook URL | Fill in the endpoint URL to enable the system to receive information and respond as needed. |
Events | The content you want to send, such as a new tip or a new leaderboard. Below are examples of the JSON data structure sent for each event. |
โ ๏ธ
If the verification token is exposed to the public, please reset the private key and the verification token will be updated.
{
"event": "NEW_TIP",
"data": {
"name":"John Doe",
"amount":15000,
"message":"This is a test message"
}
}
{
"event": "NEW_LEADERBOARD",
"data": {
"name": "t1",
"ranking": 1
}
}