# API Synthetic Monitors in Management Zone

**URL:** <https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327>\
**Category:** Synthetic Monitoring\
**Tags:** management-zones, dynatrace-api, synthetic-monitoring\
**Created:** [May 31, 2022, 4:03pm UTC](https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327 "2022-05-31T16:03:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balamurugesh](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Post date:** [May 31, 2022, 4:03pm UTC](https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327/1 "2022-05-31T16:03:01Z")

</div>

Hi, I am looking for an API which will provide details of all monitors configured in a management zone.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [May 31, 2022, 6:44pm UTC](https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327/2 "2022-05-31T18:44:37Z")

</div>

What exactly do you want? Results? Configuration?

You can use the&nbsp;[Synthetic API v1](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/synthetic)&nbsp;and filter for the Management Zone to get a list of all Synthetic Monitors in that MZ.

With&nbsp; **/api/v1/synthetic/monitors** &nbsp;you can get a list of all synthetic monitors, which can be filtered with the&nbsp; **managementZone parameter.**

**Then you can get more information about the monitor** with a request to&nbsp; **/api/v1/synthetic/monitors/{ID}.**

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [June 1, 2022, 5:15am UTC](https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327/3 "2022-06-01T05:15:46Z")

</div>

Hi&nbsp;[@Balamurugesh](https://community.dynatrace.com/user/51242)

You should use 2 different API.

The first one to list all MZ with there IDs.

[https://YOURSERVER/e/ENVID/api/config/v1/managementZones?Api-Token=YOURTOKEN](https://anb-srl-dynapp1.anb.net/e/d157051e-c593-4c26-9621-35b5618801a5/api/config/v1/managementZones?Api-Token=YOUR)

After that, with each ID, you can list the parameters of each MZ using:

[https://YOURSERVER/e/ENVID/api/config/v1/managementZones/{MZ\_ID}?Api-Token=YOURTOKEN](https://anb-srl-dynapp1.anb.net/e/d157051e-c593-4c26-9621-35b5618801a5/api/config/v1/managementZones?Api-Token=YOUR)

Hope this help

Have a good day.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [June 1, 2022, 7:51am UTC](https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327/4 "2022-06-01T07:51:24Z")

</div>

That API is for Management Zones, the question is about Synthetic Monitors in a specific Management Zone.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [June 1, 2022, 7:56am UTC](https://community.dynatrace.com/t/api-synthetic-monitors-in-management-zone/35327/5 "2022-06-01T07:56:00Z")

</div>

Houpa,

I missed one word

![Malaik_0-1654070152062.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/4/e48844a11aa02dc82bf313646dc6ebe51d8c3894.png)
