> For the complete documentation index, see [llms.txt](https://help.watbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.watbot.ru/chat-boty/bloki/nastroiki-http-blokov-iz-video/avtomaticheskoe-odobrenie-zayavok.md).

# Автоматическое одобрение заявок

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

#### 1 блок HTTP запроса

```
https://api.telegram.org/bot{{token}}/getChatMember?chat_id={{chat_id}}&user_id={{telegram_id}}
```

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

#### 2 блок HTTP

```
https://api.telegram.org/bot{{token}}/ApproveChatJoinRequest?chat_id={{chat_id}}&user_id={{telegram_id}}&hide_requester=true

```

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

3 блок HTTP запрос

```
https://api.telegram.org/bot{{token}}/banChatMember?chat_id={{chat_id}}&user_id={{telegram_id}}
```

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