# Wacher javascript API

**URL:** <https://discuss.elastic.co/t/wacher-javascript-api/65672>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [November 10, 2016, 2:27pm UTC](https://discuss.elastic.co/t/wacher-javascript-api/65672 "2016-11-10T14:27:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gubr123](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@gubr123](https://discuss.elastic.co/u/gubr123)\
**Post date:** [November 10, 2016, 2:27pm UTC](https://discuss.elastic.co/t/wacher-javascript-api/65672/1 "2016-11-10T14:27:32Z")

</div>

Hi.  
I'm using and ealsticsearch 2.4.1 and just started using watcher 2.4.1 (the upgrade to elastic5 is still to come).  
I found the javascript API for version 1.0.1 and found none since then. is it only possible to use this plugin writing curl scripts, or are there other alternatives?

Thanks,  
Guy

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [November 10, 2016, 4:26pm UTC](https://discuss.elastic.co/t/wacher-javascript-api/65672/2 "2016-11-10T16:26:03Z")

</div>

Hey @gubr123

The versions of elasticsearch and the javascript client (and it's plugins) do not align for historical reasons. I suggest giving the plugin a try and [filing an issue](https://github.com/elastic/elasticsearch-watcher-js/issues/new) if you run into any trouble.

---

<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 8, 2016, 4:26pm UTC](https://discuss.elastic.co/t/wacher-javascript-api/65672/3 "2016-12-08T16:26:07Z")

</div>

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