One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
valnouk
5 years agoNew member | Level 2
api v2 token expired !
Hello Everyone,
I noticed my api v2 oauth token expires after 4 hours.
Is there anything i should modify in my account settings for the oauth token to never expire ?
If not, is there any workaround i could use to refresh the token automatically ?
thank you,
Anouk
- Greg-DB
Dropbox Staff
It sounds like you're probably using access tokens from the API v2 Explorer. That's just meant for prototyping calls, and is currently using early access to a new feature where it only returns short-lived access tokens.
To get long-lived tokens, you should retrieve them for your own registered API app, instead of the API v2 Explorer. You can find information on how to do so in the OAuth Guide.
- valnoukNew member | Level 2
thanks Greg. I ll check the guide you mentionned
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days 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!