# Get Required approvals

**URL:** <https://forum.gitea.com/t/get-required-approvals/3926>\
**Category:** Gitea Usages\
**Created:** [October 13, 2021, 11:17pm UTC](https://forum.gitea.com/t/get-required-approvals/3926 "2021-10-13T23:17:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ska](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@Ska](https://forum.gitea.com/u/Ska)\
**Post date:** [October 13, 2021, 11:17pm UTC](https://forum.gitea.com/t/get-required-approvals/3926/1 "2021-10-13T23:17:01Z")

</div>

Hey I’m new to this forum and to the topic, so maybe a pretty simple question. I’m trying to teach my Mattermost bot to read the required approvals of a repo. Is this possible in any way?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [October 17, 2021, 9:44pm UTC](https://forum.gitea.com/t/get-required-approvals/3926/2 "2021-10-17T21:44:33Z")

</div>

The branch protection endpoint would have that for you: [Gitea API](https://try.gitea.io/api/swagger#/repository/repoGetBranchProtection)
