# Is it possible to fetch my workspace's globals variables with

**URL:** <https://community.postman.com/t/is-it-possible-to-fetch-my-workspaces-globals-variables-with/44201>\
**Category:** Help Hub\
**Created:** [February 20, 2023, 12:00pm UTC](https://community.postman.com/t/is-it-possible-to-fetch-my-workspaces-globals-variables-with/44201 "2023-02-20T12:00:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviation-participant](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@aviation-participant](https://community.postman.com/u/aviation-participant)\
**Post date:** [February 20, 2023, 12:00pm UTC](https://community.postman.com/t/is-it-possible-to-fetch-my-workspaces-globals-variables-with/44201/1 "2023-02-20T12:00:05Z")

</div>

_My question_:  
I’m currently setting up a test server that runs a collection of tests for our API using Newman. I have a globals JSON file that I exported from the Postman website using the Export button and that works like a charm.

However, if we make any changes on a global variable on the website, the test server will have outdated information and we’ll have to manually export and replace.

That is currently not a problem for our environment variables, since I’m able to fetch them by sending a GET request at the following URL: **[https://api.getpostman.com/environments/{{environment\_UID}](https://api.getpostman.com/environments/%7B%7Benvironment_UID%7D)}** and putting the API-key that I generated in the header.

My question is, is it possible to do the same thing for the workspace’s global variables?
