I already have a collection for Postman you can find here.
I had a few requests for a Insomnia collection as well, so I created one. With this you have all Dynatrace API Endpoints in Insomnia and can switch easily between different dynatrace environments, clusters or tenants via Insomnia Environments.
I have put the files on github, maybe someone will find it useful.
Setup is very quick, then you can just select the request and environment against which to execute it.
Here is a short guide:
Import collection
Import (Application → Preferences → Data → Impot Data) .json file for the APIs.
A collection Dynatrace APIs will be created with subfolders for each API:
Create environments
For each of your dynatrace environments you want to use, add a insomnia environment environment dropdown → Manage Environments:
You can adapt the Example Environment or create new ones based on it, you need to adjust the following:
- base_url
- URL to the environments
- For managed: https: //your-dt-domain.com/e/Environment-ID
- For managed (Cluster API): https: //your-dt-domain.com
- https: //example.com
- For SaaS: https: //Env-ID.live.dynatrace.com
- URL to the environments
- authorization
- Enter the token instead of REPLACE_ME_WITH_TOKEN
- Api-Token dt01.PUBLIC.SECRET
- Enter the token instead of REPLACE_ME_WITH_TOKEN
Request away!
Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top left.


