# Kibana : Alerts and Actions. How to insert alerts via API?

**URL:** <https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [September 12, 2020, 7:57pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418 "2020-09-12T19:57:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)\
**Post date:** [September 12, 2020, 7:57pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418/1 "2020-09-12T19:57:42Z")

</div>

Reading through the document, it is not clear how to PUT/POST an alert action to Kibana.

Will tihs be an API of its own or just a new of data into .kibana index? As per the `<type>`  
definition

```auto
`<type>`

(Required, string) Valid options include  
- `visualization` , 
- `dashboard` ,  
- `search` ,  
- `index-pattern` ,  
- `config` , and  
- `timelion-sheet` .

```

which type does the "Alerting" fall into?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 14, 2020, 1:21am UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418/2 "2020-09-14T01:21:09Z")

</div>

Hi @kelk

There plan to have an API for alerting it is just not available yet, and unfortunately we do not publish release features in advance.

Apologies.

---

<div class="post-metadata">

**Author:** ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)\
**Post date:** [September 14, 2020, 11:20am UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418/3 "2020-09-14T11:20:47Z")

</div>

thanks for the update.  
Will wait for it before we migrate the items from "Watcher"

where can I put the feature request for such "Alerting" ? hope the alerting & actions should have its own API endpoint and not get pushed into .kibana index

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 14, 2020, 2:53pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418/4 "2020-09-14T14:53:44Z")

</div>

@kelk

You can always add feature request for Alerting you would add it to the Kibana Repo [here](https://github.com/elastic/kibana/issues):

It looks like this feature is well on its way, if you poke around master you can already see the initial README / docs under construction.

> <https://github.com/elastic/kibana/blob/master/x-pack/plugins/alerts/README.md#restful-api>

---

<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:** [October 12, 2020, 2:53pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-how-to-insert-alerts-via-api/248418/5 "2020-10-12T14:53:56Z")

</div>

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