# Webhooks feedback

**URL:** <https://meta.discourse.org/t/webhooks-feedback/49046>\
**Category:** Development\
**Created:** [August 23, 2016, 5:37am UTC](https://meta.discourse.org/t/webhooks-feedback/49046 "2016-08-23T05:37:11Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Lapinot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lapinot/32/60809_2.png) [@Lapinot](https://meta.discourse.org/u/Lapinot)\
**Post date:** [August 24, 2016, 1:09pm UTC](https://meta.discourse.org/t/webhooks-feedback/49046/7 "2016-08-24T13:09:08Z")

</div>

> [@fantasticfears](#):
>
> As of customized payload, I am not sure it’s worth it.

Yeah, I do agree, but just filtering may be really handy: if I set up the `post` webhook here on meta, I will maybe get a call every couple minutes (maybe more I don’t know), a lot more than say the edition on the first post of a topic starting with `[news]`. And this query language isn’t complicated, for this example the filter query would be something like:

```plaintext
{'post': {'post_number': 1, 'topic_title': {'$regex':'^\[news\]'}}}

```

And here is a sample implementation in python as bonus 🐍 (I’ll try to do it in ruby to make a pr or something).

> <https://gist.github.com/Lapin0t/3862ada8bb5f0bf58e101096a6e06c81>

---

_[View the full topic](https://meta.discourse.org/t/webhooks-feedback/49046)._
