# Interact with API's using same OAuth ClientId in different environments

**URL:** <https://devforum.zoom.us/t/interact-with-apis-using-same-oauth-clientid-in-different-environments/91110>\
**Category:** API and Webhooks\
**Tags:** api, s2s-oauth\
**Created:** [June 30, 2023, 6:26am UTC](https://devforum.zoom.us/t/interact-with-apis-using-same-oauth-clientid-in-different-environments/91110 "2023-06-30T06:26:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malinda.p](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@malinda.p](https://devforum.zoom.us/u/malinda.p)\
**Post date:** [June 30, 2023, 6:26am UTC](https://devforum.zoom.us/t/interact-with-apis-using-same-oauth-clientid-in-different-environments/91110/1 "2023-06-30T06:26:13Z")

</div>

I have created a OAuth App in order to Interact with API’s. I use same OAuth App (Same client ID) for testing environment and production environment.

Question is If I’m to login (one account) in to test and production sequentially at a given time (before the token expire) and get two different access\_tokens .

Both access\_tokens are valid or is it the latest access in this case production access\_token?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 2, 2024, 10:02pm UTC](https://devforum.zoom.us/t/interact-with-apis-using-same-oauth-clientid-in-different-environments/91110/2 "2024-07-02T22:02:54Z")

</div>

Closed on July 2, 2024, 10:02pm UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
