# Create link for end user to ack watcher email

**URL:** <https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987>\
**Category:** Elasticsearch\
**Created:** [July 28, 2017, 4:25pm UTC](https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987 "2017-07-28T16:25:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Tomasheski](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@David\_Tomasheski](https://discuss.elastic.co/u/David_Tomasheski)\
**Post date:** [July 28, 2017, 4:25pm UTC](https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987/1 "2017-07-28T16:25:25Z")

</div>

I have a watch that shoots off an email which works great. I would like to add a link to the email so the end user can click it to ack the email so he doesn't keep getting emails about the same issue. Is there a way to do this? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Julien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien/32/19688_2.png) [@Julien](https://discuss.elastic.co/u/Julien)\
**Post date:** [July 29, 2017, 8:53am UTC](https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987/2 "2017-07-29T08:53:48Z")

</div>

It is possible to use [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/watcher-api-ack-watch.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/watcher-api-ack-watch.html) so watcher action is ignored till condition is false once again. A link in an email would send a get request so you will need some application layer to send a post or put request

Also another way without ack is to define a throttle time so you limit amout of alerts for a defined amount of time  
[https://www.elastic.co/guide/en/x-pack/current/actions.html#actions-ack-throttle](https://www.elastic.co/guide/en/x-pack/current/actions.html#actions-ack-throttle)

---

<div class="post-metadata">

**Author:** ![David\_Tomasheski](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@David\_Tomasheski](https://discuss.elastic.co/u/David_Tomasheski)\
**Post date:** [July 31, 2017, 3:50pm UTC](https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987/3 "2017-07-31T15:50:23Z")

</div>

I had read that page before and while it seems to show how I could do it from a POST in the Dev Tools console. What I was really looking for was some kind of html link that I could put inside the email from watcher so my end user doesn't have to log into Kibana at all. Is there a way to do that?

---

<div class="post-metadata">

**Author:** ![Julien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien/32/19688_2.png) [@Julien](https://discuss.elastic.co/u/Julien)\
**Post date:** [July 31, 2017, 9:38pm UTC](https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987/4 "2017-07-31T21:38:40Z")

</div>

No this is not directly possible.  
A link in an email would send a get request and should not contain credentials (as it would expose those credentials), while you will need to issue a post request with some credentials

So one solution would be to develop a web application which sends the post request including the authentication using some general account if you do not want the user to login.  
You might also want to open a support case so we can keep track of your requirements and possibly give more detailed advise if this did not suffice

---

<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:** [August 28, 2017, 9:38pm UTC](https://discuss.elastic.co/t/create-link-for-end-user-to-ack-watcher-email/94987/5 "2017-08-28T21:38:51Z")

</div>

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