> For the complete documentation index, see [llms.txt](https://themis-bot.gitbook.io/themis-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://themis-bot.gitbook.io/themis-docs/fundamentals/getting-set-up/anti-webhook.md).

# Anti-Webhook

{% hint style="info" %}
Some bots require the use of webhooks. This is most often the case with support ticket bots. To use them, add bot roles or the `Bot` role to `Whitelist`.
{% endhint %}

This feature prevents the creation of webhooks, which are a critical vulnerability if the server is compromised. If a webhook is created by a user or bot, Themis will be triggered and delete webhook and take away the user's roles.

After selecting Anti-Webhook in the selector, you will see the following menu:

![](/files/vaqy4y9lRMmJE2WdvtDT)

* Embed title shows the function you selected
* Each option has the switcher which notifies you about the status

#### Security

![](/files/lcZRF28B2twOkKaqgAHi)

Security - is a binary parameter indicating the status of the function. It can be disabled or enabled.&#x20;

Log-channel - a channel to be used for reporting. This parameter is optional and does not required to specify.

#### Whitelist

![](/files/TfA9VM5CnMi3sftBwbmo)

Whitelist - a list of roles that have the ability to breach and Themis will ignore them. For example, this option can be applied to trusted bots.

![](/files/e4HlaGMjZoBWHAWuoVhl)

Using buttons, you can add or remove whitelisted roles based on your needs.

#### Logs

<figure><img src="/files/e6re9PulIA77B0ytirDE" alt=""><figcaption></figcaption></figure>

* Logs channel can be assigned with a button
* Logs can be exported in TXT, CSV and XML


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://themis-bot.gitbook.io/themis-docs/fundamentals/getting-set-up/anti-webhook.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.
