# GET \_opendistro/\_alerting/destinations/\<destination-id\>

**URL:** <https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840>\
**Category:** Alerting\
**Tags:** discuss, configure\
**Created:** [March 7, 2022, 5:29am UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840 "2022-03-07T05:29:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbhishekSharma](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@AbhishekSharma](https://forum.opensearch.org/u/AbhishekSharma)\
**Post date:** [March 7, 2022, 5:29am UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840/1 "2022-03-07T05:29:04Z")

</div>

This api to get the destination doesn’t work- [Documentation Link](https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/api/#get-destination)

Error - GET Method not allowed.  
Is there any issue with the Api or documentation is stale.

---

<div class="post-metadata">

**Author:** ![searchymcsearchface](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/searchymcsearchface/32/868_2.png) [@searchymcsearchface](https://forum.opensearch.org/u/searchymcsearchface)\
**Post date:** [March 7, 2022, 2:36pm UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840/2 "2022-03-07T14:36:55Z")

</div>

To my knowledge this hasn’t changed and I can still see it in the source code. Can you show us what your exact query is?

---

<div class="post-metadata">

**Author:** ![qreshi](https://avatars.discourse-cdn.com/v4/letter/q/aca169/32.png) [@qreshi](https://forum.opensearch.org/u/qreshi)\
**Post date:** [March 7, 2022, 6:18pm UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840/3 "2022-03-07T18:18:09Z")

</div>

Hi @AbhishekSharma,

The GET Destinations API was added to ODFE Alerting in version 1.12. Unfortunately, that documentation wasn’t versioned so there wasn’t an inherent mechanism to show that diff. Perhaps it should be updated to mention that explicitly next to the API to avoid confusion since it’s not clear otherwise.

---

<div class="post-metadata">

**Author:** ![AbhishekSharma](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@AbhishekSharma](https://forum.opensearch.org/u/AbhishekSharma)\
**Post date:** [March 8, 2022, 5:19am UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840/4 "2022-03-08T05:19:11Z")

</div>

Hi @searchymcsearchface

I’m using this `GET _opendistro/_alerting/destinations/destination-id` in kibana dev tool console.

This is the error - {  
“error” : “Incorrect HTTP method for uri [/\_opendistro/\_alerting/destinations/destination-id?pretty=true] and method [GET], allowed: [PUT, DELETE]”,  
“status” : 405  
}

---

<div class="post-metadata">

**Author:** ![searchymcsearchface](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/searchymcsearchface/32/868_2.png) [@searchymcsearchface](https://forum.opensearch.org/u/searchymcsearchface)\
**Post date:** [March 9, 2022, 4:22pm UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840/5 "2022-03-09T16:22:59Z")

</div>

You are replacing the ‘destination-id’ in `_opendistro/_alerting/destinations/destination-id` with the actual destination ID, right?

---

<div class="post-metadata">

**Author:** ![AbhishekSharma](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@AbhishekSharma](https://forum.opensearch.org/u/AbhishekSharma)\
**Post date:** [March 10, 2022, 6:53am UTC](https://forum.opensearch.org/t/get-opendistro-alerting-destinations-destination-id/8840/6 "2022-03-10T06:53:13Z")

</div>

yes @searchymcsearchface
