Is there any option to increase token validity in Server to Server oauth app

*Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context.*

We are creating a server for meetings. where many requests will be created to Zoom API within an hour.

Because there is only one token valid for a particular time and validity is 1 hour. what will be if one request (Request1) going to access Zoom API with the current token before that another request (Request2) created a new Token?

there will be an error for (Request1): “Access token is expired”.

The question is How to handle this concurrency ??

Hi Rachit,
I am interested to learn more about your use case.

Ideally I wouldn’t recommend creating tokens for every request, instead, you can have two jobs:
Job 1. Handles access tokens: Creates / Updates Access Tokens (runs once every hour or 50 mins)
Job 2. Makes API calls: You can append the access tokens from Job 1 and use them to make API calls in Job 2.

Let me know if this helps.