# What is the right format of webhook?

**URL:** <https://forum.opensearch.org/t/what-is-the-right-format-of-webhook/321>\
**Category:** Alerting\
**Created:** [March 30, 2019, 4:21am UTC](https://forum.opensearch.org/t/what-is-the-right-format-of-webhook/321 "2019-03-30T04:21:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![opsnull](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/opsnull/32/86_2.png) [@opsnull](https://forum.opensearch.org/u/opsnull)\
**Post date:** [March 30, 2019, 4:21am UTC](https://forum.opensearch.org/t/what-is-the-right-format-of-webhook/321/1 "2019-03-30T04:21:44Z")

</div>

![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/1X/0f1a4b2add087da730163d0c1df956e8c9fe06c6.png)

---

<div class="post-metadata">

**Author:** ![lucaswin-amzn](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/lucaswin-amzn/32/192_2.png) [@lucaswin-amzn](https://forum.opensearch.org/u/lucaswin-amzn)\
**Post date:** [April 1, 2019, 6:06pm UTC](https://forum.opensearch.org/t/what-is-the-right-format-of-webhook/321/2 "2019-04-01T18:06:01Z")

</div>

Hi opsnull,

Thank you for bringing this to our attention. This is a bug on our side, and I have filed a [issue on github](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/issues/14).

As you can see the validation takes place here in the kibana plugin:

> <https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/blob/main/public/pages/Destinations/components/createDestinations/CustomWebhook/validate.js#L18-L26>

A workaround for now would be to use the API rather than Kibana. Let me know if you need any assistance putting that together 🙂

---

<div class="post-metadata">

**Author:** ![skkosuri-amzn](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/skkosuri-amzn/32/935_2.png) [@skkosuri-amzn](https://forum.opensearch.org/u/skkosuri-amzn)\
**Post date:** [August 31, 2020, 10:46pm UTC](https://forum.opensearch.org/t/what-is-the-right-format-of-webhook/321/3 "2020-08-31T22:46:24Z")

</div>

This issues has been fixed.

---

<div class="post-metadata">

**Author:** ![skkosuri-amzn](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/skkosuri-amzn/32/935_2.png) [@skkosuri-amzn](https://forum.opensearch.org/u/skkosuri-amzn)\
**Post date:** [August 31, 2020, 10:46pm UTC](https://forum.opensearch.org/t/what-is-the-right-format-of-webhook/321/4 "2020-08-31T22:46:27Z")

</div>


