# Webhook for Discourse events

**URL:** <https://meta.discourse.org/t/webhook-for-discourse-events/39808>\
**Category:** Feature\
**Tags:** rfc\
**Created:** [18. Februar 2016 um 16:06 UTC](https://meta.discourse.org/t/webhook-for-discourse-events/39808 "2016-02-18T16:06:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [18. Februar 2016 um 16:06 UTC](https://meta.discourse.org/t/webhook-for-discourse-events/39808/1 "2016-02-18T16:06:43Z")

</div>

I’m writing up the specs for this in order to facilitate [GSoC 2016 application](https://meta.discourse.org/t/list-of-project-ideas-for-google-summer-of-code-2016/38791)

## Specs

1. A single page at “/admin/webhook” for admins to manage their webhooks
2. Admins will need to provide a Payload URL which the webhook service will POST the event payload to.
3. Webhook will POST all events to the Payload URL by default. We should allow admins to select individual events which they require.
4. A Webhook can be activated and deactivated.
5. Logs of the POST request as well as the response should be kept and made visible for admins.

For a start, I think the following events suggested by @phanimahesh is pretty reasonable.

> [@phanimahesh](#):
>
> Events, I can think of user\_{registered,activated}, topic\_created, reply\_posted, post\_liked, flag\_raised, message\_sent, topic\_{pinned, unpinned, archived, closed, invisible-d}, auto\_close\_set, trust\_level\_changed

---

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