Learn how to make the most out of the Dropbox Community here 💙.
Forum Discussion
M-ike
5 years agoNew member | Level 2
How to generate a short lived/refresh token from a long live token with the python SDK
From september long live tokens are being retired, so how can I take my existing long lived token and generate a refresh token that I'll be able to use via the api going forward alongside any new short lived tokens I may receive?
- Greg-DB
Dropbox Staff
The API doesn't offer a way to convert long-lived access tokens to refresh tokens. Creating new long-lived access tokens is now considered deprecated, but we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access tokens as-is.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,963 PostsLatest Activity: 8 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!