# Vote Webhooks

Vote webhooks are fired whenever a user upvotes your bot. This can be configured in bot settings.

It is advised to implement vote webhooks in your bot, as more votes brings higher rankings on our site.

## Upvote

<mark style="color:green;">`POST`</mark> `https://your-api.com/your-webhook-url`

This request is made to your API when an upvote is made.

#### Headers

| Name          | Type   | Description        |
| ------------- | ------ | ------------------ |
| Authorization | string | The webhook secret |

#### Request Body

| Name     | Type    | Description                         |
| -------- | ------- | ----------------------------------- |
| admin    | boolean | If the user is a site administrator |
| avatar   | string  | The avatar hash of the user         |
| username | string  | The username of the user who voted  |
| id       | string  | The ID of the user who voted        |

{% tabs %}
{% tab title="200 " %}

```
N/A
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discordbotlist.com/vote-webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
