# Watcher Webhook Response Attachement

**URL:** <https://discuss.elastic.co/t/watcher-webhook-response-attachement/66033>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [November 14, 2016, 10:58pm UTC](https://discuss.elastic.co/t/watcher-webhook-response-attachement/66033 "2016-11-14T22:58:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chromechris](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@chromechris](https://discuss.elastic.co/u/chromechris)\
**Post date:** [November 14, 2016, 10:58pm UTC](https://discuss.elastic.co/t/watcher-webhook-response-attachement/66033/1 "2016-11-14T22:58:54Z")

</div>

Hello guys,

I was wondering if there was a way to attach a Webhook alert response to an email alert within the same Watch? So I can attach the output of the Webhook response to the email alert.

Really, thanks in advance Chrome,

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 15, 2016, 9:44am UTC](https://discuss.elastic.co/t/watcher-webhook-response-attachement/66033/2 "2016-11-15T09:44:09Z")

</div>

Hey,

you cannot attach the data of a `webhook`, as this is an action. You could however use either a HTTP input and use the `data` attachment or you could use the http attachment type to execute the request you want and include it in an email.

See [https://www.elastic.co/guide/en/watcher/2.4/actions.html#configuring-email-attachments](https://www.elastic.co/guide/en/watcher/2.4/actions.html#configuring-email-attachments)

--Alex

---

<div class="post-metadata">

**Author:** ![chromechris](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@chromechris](https://discuss.elastic.co/u/chromechris)\
**Post date:** [November 15, 2016, 3:39pm UTC](https://discuss.elastic.co/t/watcher-webhook-response-attachement/66033/3 "2016-11-15T15:39:26Z")

</div>

> [@spinscale](#):
>
> ta of a webhook, as this is an action. You could however use either a HTTP input and use the data attachment or you could use the http atta

Ok, thanks Spinscale!

---

<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:** [December 13, 2016, 3:39pm UTC](https://discuss.elastic.co/t/watcher-webhook-response-attachement/66033/4 "2016-12-13T15:39:29Z")

</div>

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