One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Mark R.5
4 years agoHelpful | Level 5
Multiple short lived access tokens in same app
Hi. Appreciate this may be a silly question, but here goes. Given that a refresh token can be used to generate short lived access tokens, is it possible to use more than one of these short lived tokens at the same time in the same app for the same user.
So for example could you be using one short lived access token for a background process (e.g. using longpoll), then generate another short lived token to read some files from a folder, while the background process continues. Or would the generation of the new short lived token invalidate the token being used for the background process.
I ask because currently I maintain multiple instances of the DropboxClient in my Android client, so I may need to switch to a singleton if the above is a problem.
You can create and use multiple short-lived access tokens for the same app-user pair at the same time. Creating a new one doesn't invalidate previous ones.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 19 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!