In the repo settings of a project there is a tab called "Chat Notifications". In this tab you can connect your repo with a Slack-Workspace in order to get a notification if "xyz" happens.
Is there a way to activate/edit the Slack notification of a repository by using the REST API too?