# Monitor does not see variable's initial value got via Postman API

**URL:** <https://community.postman.com/t/monitor-does-not-see-variables-initial-value-got-via-postman-api/18814>\
**Category:** Help Hub\
**Tags:** variables, authentication, environments, monitors, postman-api\
**Created:** [January 4, 2021, 10:52am UTC](https://community.postman.com/t/monitor-does-not-see-variables-initial-value-got-via-postman-api/18814 "2021-01-04T10:52:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [January 4, 2021, 12:33pm UTC](https://community.postman.com/t/monitor-does-not-see-variables-initial-value-got-via-postman-api/18814/2 "2021-01-04T12:33:12Z")

</div>

Would you mind sending a screenshot of your current implementation? This is definitely something that can be done, I’m curious to see what your setup is.

I outline how to do this via a pre-request script (run once, don’t run again until JWT is expired) in this post:

> [@Medium Article: How to Automate OAuth2 Token Renewal in Postman](https://community.postman.com/t/medium-article-how-to-automate-oauth2-token-renewal-in-postman/6630):
>
> Hey everyone, I have seen on a number of forums and stack overflow articles people expressing their frustration with the manual process Postman has for renewing OAuth2 tokens when they expire. I thought I would share a write up I did to help you get past the manual process and have your tokens renewing automatically. Let me know what you think!

---

_[View the full topic](https://community.postman.com/t/monitor-does-not-see-variables-initial-value-got-via-postman-api/18814)._
