# Webhook for requires-moderation

**URL:** <https://meta.discourse.org/t/webhook-for-requires-moderation/85469>\
**Category:** Feature\
**Created:** [April 16, 2018, 10:07pm UTC](https://meta.discourse.org/t/webhook-for-requires-moderation/85469 "2018-04-16T22:07:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kgrinberg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgrinberg/32/120110_2.png) [@kgrinberg](https://meta.discourse.org/u/kgrinberg)\
**Post date:** [April 16, 2018, 10:07pm UTC](https://meta.discourse.org/t/webhook-for-requires-moderation/85469/1 "2018-04-16T22:07:34Z")

</div>

We’d love to be able to get a webhook whenever a post requires approval. Right now, as I understand it, the webhook is only triggered when it’s approved. (If that’s not the intended behavior I can put together a bug report, but that seems to be what I’m observing).

It looks like [FEATURE: webhook for flag events · discourse/discourse@a16b616 · GitHub](https://github.com/discourse/discourse/commit/a16b616861ec25f28f05bb18d48ed111e56a7b0f) added the ability to get webhooks for flag events (including creation), but unless I’m confused (always possible!) flagging != requires approval.

The use case is that we have some words in our Watched Words list that trigger Require Approval. I’d like to add a Slack notification to our moderators for those cases.

The discourse-chat-integration plugin doesn’t seem to have a trigger for this specific use case, which seems reasonable, and I’m happy to do the Slack-pinging part myself… I just need a webhook to trigger it from.

It’s basically an extension of [Is there a webhook for flag raised or mod inbox++?](https://meta.discourse.org/t/is-there-a-webhook-for-flag-raised-or-mod-inbox/61331) to account for Requires Approval in addition to flagging.

---

_[View the full topic](https://meta.discourse.org/t/webhook-for-requires-moderation/85469)._
