# Listening for a webhook

**URL:** <https://discuss.elastic.co/t/listening-for-a-webhook/203038>\
**Category:** Kibana\
**Created:** [October 10, 2019, 1:53pm UTC](https://discuss.elastic.co/t/listening-for-a-webhook/203038 "2019-10-10T13:53:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![druffner](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@druffner](https://discuss.elastic.co/u/druffner)\
**Post date:** [October 10, 2019, 1:53pm UTC](https://discuss.elastic.co/t/listening-for-a-webhook/203038/1 "2019-10-10T13:53:57Z")

</div>

Hey forum,

I am currently working on a project with Kibana, and I was wondering if Kibana has the ability to listen for a webhook. I understand that you can send a webhook from Kibana, and I did some research into watcher, but I couldn't quite find anything on using it to wait for a webhook.

I would like to capture this webhook from an external site, and then upon successful delivery use its payload to filter the dashboard with. If anyone has any ideas or tips I would really appreciate them!

Thank You,  
David

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 10, 2019, 8:21pm UTC](https://discuss.elastic.co/t/listening-for-a-webhook/203038/2 "2019-10-10T20:21:40Z")

</div>

To accomplish this, your going to have to write the code to handle the webhook yourself. There is a [REST API](https://www.elastic.co/guide/en/kibana/current/saved-objects-api.html) for interacting with the objects Kibana persists. You could either create a plugin to handle the server-side aspect of accepting the webhook, in which case I would recommend checking out the plugin generator `node scripts/generate_plugin`, or just create an independent app.

---

<div class="post-metadata">

**Author:** ![druffner](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@druffner](https://discuss.elastic.co/u/druffner)\
**Post date:** [October 15, 2019, 7:47pm UTC](https://discuss.elastic.co/t/listening-for-a-webhook/203038/3 "2019-10-15T19:47:33Z")

</div>

Gotcha, thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 12, 2019, 7:47pm UTC](https://discuss.elastic.co/t/listening-for-a-webhook/203038/4 "2019-11-12T19:47:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
