> For the complete documentation index, see [llms.txt](https://docs.botsfordiscord.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botsfordiscord.com/methods/receiving-votes.md).

# Receiving Votes

## Receive Vote

<mark style="color:green;">`POST`</mark> `​https://your.webhook.com/discordswebhook`

We recomend you end your webhooks with `/discordswebhook`, although it's not required.

#### Headers

| Name          | Type   | Description                                                                        |
| ------------- | ------ | ---------------------------------------------------------------------------------- |
| Authorization | string | The plain text string used to verifiy that the request is coming from discords.com |

#### Request Body

| Name  | Type   | Description                                                                                                                                                      |
| ----- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| user  | string | The ID of the user who voted                                                                                                                                     |
| bot   | string | The ID of the bot which recieved the vote                                                                                                                        |
| votes | string | Contains totalVotes, votesMonth, votes24, hasVoted - a list of IDs of users who have voted this month, and Voted24 - a list of IDs of users who have voted today |
| type  | string | The type of event, whether it is a vote event or test event                                                                                                      |

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

```
// No response is required but a simple OK would be nice
```

{% endtab %}
{% endtabs %}
