Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
TarunK
5 years agoNew member | Level 2
Refreshing short lived access token after expiry
I login into my personal account, create an app in the app console and generate an short-lived access token. After this token has expired, can I use it to generate a new access token programmatically without the need for login in again?.
If yes, is it the same for team(enterprise) account as well
No, it is not possible to use a short-lived access token to programmatically generate another access token. If you need long-term access without manual user intervention, you should use the OAuth flow to get a refresh token, which can be used to programmatically retrieve new short-lived access tokens on demand. Please refer to the OAuth Guide and authorization documentation for more information on doing so.
This works the same way for both Business/Enterprise and non-Business/Enterprise accounts.
1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
No, it is not possible to use a short-lived access token to programmatically generate another access token. If you need long-term access without manual user intervention, you should use the OAuth flow to get a refresh token, which can be used to programmatically retrieve new short-lived access tokens on demand. Please refer to the OAuth Guide and authorization documentation for more information on doing so.
This works the same way for both Business/Enterprise and non-Business/Enterprise accounts.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!