# HTTP synthetic monitors not returned in API call

**URL:** <https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [March 6, 2019, 6:55am UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885 "2019-03-06T06:55:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![harpreet\_dhillo](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@harpreet\_dhillo](https://community.dynatrace.com/u/harpreet_dhillo)\
**Post date:** [March 6, 2019, 6:55am UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885/1 "2019-03-06T06:55:21Z")

</div>

Hello,

When trying to get all synthetic monitors via API: /api/v1/synthetic/monitors

only **Browser** type synthetic monitors are being returned, and none else. There are no HTTP monitors being returned in the API call even though we have some configured and are visible via the web UI.

Is this behavior on purpose?

Thanks.

---

<div class="post-metadata">

**Author:** ![akshay\_misra](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@akshay\_misra](https://community.dynatrace.com/u/akshay_misra)\
**Post date:** [March 6, 2019, 7:26am UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885/2 "2019-03-06T07:26:52Z")

</div>

I am not aware if it meant to return on browser monitor, but as per my understanding it should return you with HTTP monitor.

Can you try once to get specified monitor - You can pass monitorID of your http monitor to see what it results into -

- Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}
- SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/{monitorId}

Also, I checked the POST API, from which we can create a monitor - From POST api we can also create an HTTP monitor.

Post API

- Managed https://{your-domain}/e/{your-environment-id}/api…
- SaaS https://{your-environment-id}.live.dynatrace.com/…

---

<div class="post-metadata">

**Author:** ![harpreet\_dhillo](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@harpreet\_dhillo](https://community.dynatrace.com/u/harpreet_dhillo)\
**Post date:** [March 6, 2019, 7:39am UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885/3 "2019-03-06T07:39:08Z")

</div>

Thanks [@Akshay M.](https://answers.dynatrace.com/users/27425/view.html)

Using the Web UI, I selected one HTTP monitor and one Browser monitor, their URLs were respectively:

HTTP Monitor: https://{environment-id}.live.dynatrace.com/#httpcheckdetails;id=HTTP\_CHECK-{random-string};gtf=l\_2\_HOURS;gf=all

Browser Monitor: https://{environment-id}.live.dynatrace.com/#monitordetail;webcheckId=SYNTHETIC\_TEST-{random-string};gtf=l\_2\_HOURS;gf=all

So I obtained two **monitorId** s:

- HTTP\_CHECK-{random-string}
- SYNTHETIC\_TEST-{random-string}

I made two API calls to:

- https://{environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/HTTP\_CHECK-{random-string}

- https://{environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/SYNTHETIC\_TEST-{random-string}

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [March 6, 2019, 8:22am UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885/4 "2019-03-06T08:22:11Z")

</div>

Hi [@Harpreet D.](https://answers.dynatrace.com/users/31352/view.html),

HTTP monitors are not yet supported via the API.  
We will release that functionality with the next update of Dynatrace. (164)

Kind regards, Philipp

---

<div class="post-metadata">

**Author:** ![harpreet\_dhillo](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@harpreet\_dhillo](https://community.dynatrace.com/u/harpreet_dhillo)\
**Post date:** [March 6, 2019, 8:28am UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885/5 "2019-03-06T08:28:34Z")

</div>

Thank you [@Philipp K.](https://answers.dynatrace.com/users/15958/view.html) .

On that note, is there a planned date for the release of the next update, 1.164 ?

---

<div class="post-metadata">

**Author:** ![tarjei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei/32/39196_2.png) [@tarjei](https://community.dynatrace.com/u/tarjei)\
**Post date:** [October 22, 2020, 3:23pm UTC](https://community.dynatrace.com/t/http-synthetic-monitors-not-returned-in-api-call/19885/6 "2020-10-22T15:23:16Z")

</div>

Hi Philipp,

We are running managed 1.202, but I cannot see this functionality?
