# Discourse Webhooks - Help

**URL:** https://meta.discourse.org/t/discourse-webhooks-help/60254
**Category:** Development
**Created:** [March 31, 2017, 8:40pm UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254 "2017-03-31T20:40:44Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jackzampolin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jackzampolin/32/121017_2.png) [@jackzampolin](https://meta.discourse.org/u/jackzampolin)
#### Post date: [March 31, 2017, 8:40pm UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/1 "2017-03-31T20:40:44Z")

</div>

I’ve been working on implementing a webhook client in JS. In order to get the proper shape of the sent events I created a server to listen for the events and write the posts to a file. Then I TDDed the server to handle the events and throw them into a database for later analysis.

It seems like one of the recent updates made a change to the webhook code and I was missing events for a day or so. I would love to build this server as an additional way to monitor, but would need some more information about the webhooks feature than is available in posts on meta such as full request schemas for each event type. Also some insight into any upcoming changes to that feature would be appreciated.

I think there are a lot of users who would find this type of event tracking very helpful. I plan to post a full tutorial on setting this system up along with some canned dashboards.

---

<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: [April 3, 2017, 1:41am UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/2 "2017-04-03T01:41:18Z")

</div>

> [@jackzampolin](#):
>
> but would need some more information about the webhooks feature

What kind of information do you need? 🙂

---

<div class="post-metadata">

### Author: ![jackzampolin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jackzampolin/32/121017_2.png) [@jackzampolin](https://meta.discourse.org/u/jackzampolin)
#### Post date: [April 5, 2017, 12:34am UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/3 "2017-04-05T00:34:44Z")

</div>

@tgxworld Thanks for getting back to me!

I would like:

- Full list of possible events emitted from the webhooks. Currently I have the following, but I would imagine that there are CRUD for `topic`,`user`, and `post` events\_types:
  - post\_created
  - post\_edited
  - topic\_created
  - topic\_edited
  - topic\_destroyed
  - user\_updated
  - user\_created

- For each event, sample JSON payloads to test against
- Any planned changes to the API or webhook payloads

---

<div class="post-metadata">

### Author: ![jackzampolin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jackzampolin/32/121017_2.png) [@jackzampolin](https://meta.discourse.org/u/jackzampolin)
#### Post date: [April 24, 2017, 5:59pm UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/5 "2017-04-24T17:59:46Z")

</div>

Any chance on getting this stuff?

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [April 24, 2017, 6:32pm UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/6 "2017-04-24T18:32:57Z")

</div>

Sorry, but this would take quite a lot of work to do, and we only do custom work for our Enterprise customers.

@fantasticfears might be available to work on this as a freelancer though. If you’re able to pay for this work, you should get in touch with him about this.

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [August 17, 2017, 8:35pm UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/7 "2017-08-17T20:35:41Z")

</div>

I haven’t received message from Jack a while back. Anyway, here is the work for anyone interested.  
There is a `discourse_webhook_payload.rb` inside the gz file. It generates payload format in JSON.

[https://global.discourse-cdn.com/meta/original/3X/2/f/2f58dc35111add0b6baaac12e4dd3874027afed0.gz](https://global.discourse-cdn.com/meta/original/3X/2/f/2f58dc35111add0b6baaac12e4dd3874027afed0.gz)

---

<div class="post-metadata">

### Author: ![Hosre\_Thinker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosre_thinker/32/90387_2.png) [@Hosre\_Thinker](https://meta.discourse.org/u/Hosre_Thinker)
#### Post date: [February 23, 2018, 3:08pm UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/8 "2018-02-23T15:08:17Z")

</div>

Hi all.  
I just activated the webhook and it works fine.  
But is there a way to get more events: like on a topic / on an answer…

Thanks for your help.

---

<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: [February 24, 2018, 2:11am UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/9 "2018-02-24T02:11:55Z")

</div>

> [@Hosre\_Thinker](#):
>
> But is there a way to get more events: like on a topic / on an answer…

Could you elaborate more on this? What fields do you need from the topic?

---

<div class="post-metadata">

### Author: ![Hosre\_Thinker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosre_thinker/32/90387_2.png) [@Hosre\_Thinker](https://meta.discourse.org/u/Hosre_Thinker)
#### Post date: [February 26, 2018, 10:12am UTC](https://meta.discourse.org/t/discourse-webhooks-help/60254/10 "2018-02-26T10:12:37Z")

</div>

Hello,

- A user like a topic  
If I had the topic\_id and ID of the user who perform the like, I will be able using the API to get all informations I need.
- A user like a message  
If I had the post\_id, topic\_id and ID of the user who perform the like, I will be able using the API to get all informations I need.
