it helps some times Retrofit is made to help YOU handle the requests you need. It doesn't handle token expiration. This means, that you need to handle that yourself. For example, in your request error handling, you can check for 401 error Unauthorized (this is usually the error a server sends when a token expires). When this occurs, hold the failed request and send another request for a new token. When the new request is successfully completed, you will have your token refreshed and you can retry the initial failed request with the newly fetched token.
Using Axios interceptor to stop requests and check for token expiration
With these it helps The maximum grant time for access tokens received via the DocuSign OAuth JWT Grant flow is 1 hour. The maximum grant time for access tokens received via the DocuSign OAuth Authorization Code Grant flow is 8 hours.