We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
shinestar9101987
3 years agoNew member | Level 2
Generate Access Token Automatically using Code
HI Friends
i am using Dropbox API in webapi which needs access token which have the validity only few hours so that i have to on console and generate again the token.
So is this possible to use ...
Здравко
3 years agoLegendary | Level 20
Hi shinestar9101987,
You need refresh token for long term access since long lived access token was dropped. Currently all new access token are short lived. Here you can see an example how refresh token bahaves. Once you get to a refresh token, you can use it to initialize SDK client object. Take a look on the corresponding SDK's examples.
Hope this helps.
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!