# Postman for effortless Dynatrace API access across environments

**URL:** <https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194>\
**Category:** Dynatrace Tips\
**Tags:** usability, dynatrace-api\
**Created:** [August 31, 2020, 1:43pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194 "2020-08-31T13:43:54Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [August 31, 2020, 1:43pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/1 "2020-08-31T13:43:54Z")

</div>

I’ve been updating Postman collections for myself for a while to make it easier to work with the Dynatrace API across multiple clusters, tenants, and environments.

I have put the files on [github](https://github.com/pahofmann/dynatrace-postman-collections) now, maybe someone will find it useful.

If you need the Account Management API check out the [Postman Collection](https://community.dynatrace.com/post/221026#M987) from my fellow :dynamight:DynaMight&nbsp;[@DanielS](https://community.dynatrace.com/user/35788)!

Setup is very quick, then you can just select the request and environment against which to execute it.

Here is a short guide:

Import collections

Postman is available for free from [postman.com](https://www.postman.com/).

Import (file → import) the [collection](https://learning.postman.com/docs/sending-requests/intro-to-collections/) .json files for the APIs you want:

- [Environment API v1](https://github.com/pahofmann/dynatrace-postman-collections/blob/master/specs/Dynatrace-Environment-API-v1.postman_collection.json)
- [Environment API v2](https://github.com/pahofmann/dynatrace-postman-collections/blob/master/specs/Dynatrace-Environment-API-v2.postman_collection.json)
- [Configuration API](https://github.com/pahofmann/dynatrace-postman-collections/blob/master/specs/Dynatrace-Configuration-API.postman_collection.json)
- [Cluster API v1](https://github.com/pahofmann/dynatrace-postman-collections/blob/master/specs/Dynatrace-Cluster-API-v1.postman_collection.json)
- [Cluster API v2](https://github.com/pahofmann/dynatrace-postman-collections/blob/master/specs/Dynatrace-Cluster-API-v2.postman_collection.json)

A separate collection for each, including all requests of that API, will be created:

 ![26320-collections.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bfb51213b66ad9d8525fd759b4059b3a66b3b200.png)

Create environments

For each of your Dynatrace environments/tenants you want to use, add a postman environment via manage environments → add:

 ![26325-manage-environments.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/1/e19d388fd46333fd92227480de384b5d28519e76.png)

The environment needs two variables (names are case sensitive!):

- **DT\_HOST**
  - URL to the environments
    - For managed: [your-dt-domain.com/e/Environment-ID](http://your-dt-domain.com/e/Environment-ID)
      - [example.com/e/b80b158e-ev23-4330-30fcc-c4391bbx6ce2](http://example.com/e/b80b158e-ev23-4330-30fcc-c4391bbx6ce2)

    - For SaaS: [Env-ID.live.dynatrace.com](http://Env-ID.live.dynatrace.com)
      - [abc133769.live.dynatrace.com](http://abc133769.live.dynatrace.com)

- **DT\_TOKEN**
  - An API token for the environment

 ![new-environment](https://global.discourse-cdn.com/dynatrace/original/3X/6/8/68a742f1b075522c185411a948e9a39236d1da9b.png)

Request away!

Now you can open any request and easily execute it against different Dynatrace environments by selecting the environment on the top right:  
[![Dynatrace API Postman Collections](https://global.discourse-cdn.com/dynatrace/original/2X/6/67a4b6c0879aeebb779e814ece7c9483c5f36c67.png)](https://github.com/pahofmann/dynatrace-postman-collections/blob/master/pictures/send-request.png)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [August 31, 2020, 2:07pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/2 "2020-08-31T14:07:24Z")

</div>

This seems very interesting! Going to check it out when I have a little time.

---

<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:** [July 6, 2021, 2:07pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/3 "2021-07-06T14:07:24Z")

</div>

Thanks&nbsp;[@pahofmann](https://community.dynatrace.com/user/22796)&nbsp;for sharing, sure will be useful.

I cant find the way to get the json files.

---

<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:** [July 6, 2021, 2:24pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/4 "2021-07-06T14:24:22Z")

</div>

You can get from from the&nbsp;[API Explorer.](https://www.dynatrace.com/support/help/shortlink/section-api#anchor_api-explorer)

---

<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:** [July 7, 2021, 7:55am UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/5 "2021-07-07T07:55:58Z")

</div>

Hi&nbsp;[@pahofmann](https://community.dynatrace.com/user/22796)&nbsp;,

How can I download the collection from the github ?

---

<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:** [July 7, 2021, 10:09am UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/6 "2021-07-07T10:09:27Z")

</div>

The collections are saved as .json files in the repository.

You can either copy them from the **specs** &nbsp;folder or just download the whole bundle from the [releases page](https://github.com/pahofmann/dynatrace-postman-collections/releases).

---

<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:** [July 7, 2021, 12:31pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/7 "2021-07-07T12:31:24Z")

</div>

Thanks a lot man

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:** [July 8, 2021, 1:58pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/8 "2021-07-08T13:58:00Z")

</div>

Updated to 220, including cluster APIs.

---

<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:** [July 9, 2021, 8:57am UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/9 "2021-07-09T08:57:19Z")

</div>

With one of the recent Postman version the UI changed a bit.&nbsp; The environments can now be found in the left side menue:

 ![pahofmann_0-1625821034544.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/837388c08066c0353cb0178969be17540fb0ea8f.png)

---

<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:** [July 11, 2021, 7:12am UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/10 "2021-07-11T07:12:48Z")

</div>

Yes, i used this version after my last post

Thanks or your update.

Very Useful

---

<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:** [September 21, 2021, 12:50pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/11 "2021-09-21T12:50:51Z")

</div>

[Latest Release](https://github.com/pahofmann/dynatrace-postman-collections/releases/tag/1.226)&nbsp;updated to Version 1.226 (Cluster API 1.224)

---

<div class="post-metadata">

**Author:** ![theharithsa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theharithsa/32/16236_2.png) [@theharithsa](https://community.dynatrace.com/u/theharithsa)\
**Post date:** [November 8, 2021, 4:02pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/12 "2021-11-08T16:02:17Z")

</div>

It was very much helpful and this acts as a utility to have. It saves a lot of time while working with customers.

Thanks for sharing.

---

<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:** [March 14, 2022, 5:26pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/13 "2022-03-14T17:26:19Z")

</div>

Updated to 1.234:&nbsp;[Github Link.](https://github.com/pahofmann/dynatrace-postman-collections/releases/tag/1.234)

---

<div class="post-metadata">

**Author:** ![wim\_muselle](https://avatars.discourse-cdn.com/v4/letter/w/f08c70/32.png) [@wim\_muselle](https://community.dynatrace.com/u/wim_muselle)\
**Post date:** [April 27, 2022, 9:49am UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/14 "2022-04-27T09:49:36Z")

</div>

top nodge, we are currently working on an API v2 version for integration to Splunk , having this so visual in postman really helps. works like a charm.

---

<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:** [September 21, 2022, 1:04pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/15 "2022-09-21T13:04:19Z")

</div>

Update to 1.248:&nbsp;[Github Release Link.](https://github.com/pahofmann/dynatrace-postman-collections/releases/tag/1.248)

Also automated the process so future updates can be more frequent or be done by the user if in a hurry.

---

<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:** [October 25, 2022, 2:53pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/16 "2022-10-25T14:53:56Z")

</div>

Updated to 1.250:&nbsp;[Github Release Link.](https://github.com/pahofmann/dynatrace-postman-collections/releases/tag/1.250)

Also there is a Insomnia Version now: [Community Thread](https://community.dynatrace.com/post/197159#M611)&nbsp; -&nbsp; [Github](https://github.com/pahofmann/dynatrace-insomnia-collection)

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [November 7, 2022, 1:21pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/17 "2022-11-07T13:21:25Z")

</div>

hi&nbsp;[@pahofmann](https://community.dynatrace.com/user/22796)&nbsp;the links on your initial page are now not working (404), I guess because of the update? ([pahofmann/dynatrace-postman-collections: Summary of postman collections for all dynatrace APIs. (github.com))](https://github.com/pahofmann/dynatrace-postman-collections)

---

<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:** [November 7, 2022, 6:36pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/18 "2022-11-07T18:36:20Z")

</div>

Thanks, updated 🙂

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [November 7, 2022, 6:40pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/19 "2022-11-07T18:40:03Z")

</div>

Thank you x 2 !&nbsp;🙂

---

<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:** [January 19, 2023, 4:51pm UTC](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194/20 "2023-01-19T16:51:37Z")

</div>

Updated to 1.258 (Environment) and 1.256 (Cluster):&nbsp;[Github Release Link](https://github.com/pahofmann/dynatrace-postman-collections/releases/tag/1.258)

[Next page](https://community.dynatrace.com/t/postman-for-effortless-dynatrace-api-access-across-environments/20194.md?page=2)
