# Tutorial on using the API explorer to configure URLs

**URL:** <https://community.dynatrace.com/t/tutorial-on-using-the-api-explorer-to-configure-urls/20269>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [September 11, 2020, 4:11pm UTC](https://community.dynatrace.com/t/tutorial-on-using-the-api-explorer-to-configure-urls/20269 "2020-09-11T16:11:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lisa\_Singh01](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lisa_singh01/32/38981_2.png) [@Lisa\_Singh01](https://community.dynatrace.com/u/Lisa_Singh01)\
**Post date:** [September 11, 2020, 4:11pm UTC](https://community.dynatrace.com/t/tutorial-on-using-the-api-explorer-to-configure-urls/20269/1 "2020-09-11T16:11:43Z")

</div>

I know I’m an idiot so forgive the stupidity of this post.

Does anyone know a tutorial on using the API explorer to configure URLs? I’ve spent the day trying it out and I can’t work out from the description how to enter the data in a the way it wants me to.

For example I thought I’d try out the “Monitored entities - Custom Tags” get request configurator. I’ve tagged a number of synthetic browser monitors with Chrome.

And you can add one or several of the following criteria:

- Tag: `tag("value")`. Tags in `[context]key:value`, `key:value`, and `value` formats are detected and parsed automatically. If a value-only tag has a colon (`:`) in it, you must escape the colon with a backslash(`\`). Otherwise, the tag will be parsed as a `key:value` tag. All tag values are case-sensitive.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [September 12, 2020, 9:37am UTC](https://community.dynatrace.com/t/tutorial-on-using-the-api-explorer-to-configure-urls/20269/2 "2020-09-12T09:37:15Z")

</div>

Hi [@Lisa S.](https://answers.dynatrace.com/users/36248/view.html)

> **[Lisa\_Singh01](https://community.dynatrace.com/t5/user/viewprofilepage/user-id/14541)**
>
> Dynatrace Community - Find answers, ask questions, and innovate with like-minded observability experts.

You need to add to the tag also a type of entity for example:

![26556-1599930793198.png](https://global.discourse-cdn.com/dynatrace/original/1X/e7c21d878a4779c40c3091d9f0d1a1b4277c8a2a.png)

And then you will get response:

 ![26557-1599930884541.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3e426b95616fe9b65755abe174d72bd755d4b4e1.png)

However ,IMO there is no SYNTHETIC entity type hence you should use [Synthetic API v1](https://www.dynatrace.com/support/help/shortlink/api-synthetic)

 ![26583-1599902510579.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1079c30aa9a94769944e0eb11937ed83d82bbba0.png)

with the tag you need

 ![26566-1599902786267.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/f/2f59f613f9e4ad9eff7df19e7cdbcbc20580b968.png)

and get your output just fine.

 ![26567-1599902912009.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/450083d7aaa60919aa5dd008a1eb839e45f7d924.png)

Hope that will help you to smile a bit.

**BTW** If you are going to use REST API consider to use [Sergio’s Rest Api GitHub](https://github.com/sergiohinojosa/dynatrace-api-postman-collections) great PostMan collections.

All the best an stay safe and happy

Yos

---

<div class="post-metadata">

**Author:** ![Lisa\_Singh01](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lisa_singh01/32/38981_2.png) [@Lisa\_Singh01](https://community.dynatrace.com/u/Lisa_Singh01)\
**Post date:** [September 14, 2020, 6:11am UTC](https://community.dynatrace.com/t/tutorial-on-using-the-api-explorer-to-configure-urls/20269/3 "2020-09-14T06:11:28Z")

</div>

Thank you [@Yos N.](https://answers.dynatrace.com/users/3891/view.html) I might just go with the api v.1. I liked that v.2 let you use human readable and relative dates rather than UTC timestamps but maybe v.1 is the way to go. Hmmm…

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [September 21, 2020, 9:56am UTC](https://community.dynatrace.com/t/tutorial-on-using-the-api-explorer-to-configure-urls/20269/4 "2020-09-21T09:56:45Z")

</div>

Hi [@Lisa S.](https://answers.dynatrace.com/users/36248/view.html)

Good news for you : you can use the v2 with **tag(“test”),type(“SYNTHETIC\_TEST”)**

 ![26666-4dummys.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/2/72e8accde103c9b5628cf7614a909d525a4c6eb8.png)

Which mean bad news for me as my IMO was not right 🙂

All the Best

Yos
