We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
aalok
4 years agoExplorer | Level 4
generate code by using curl dropbox api
I don't want user interaction to click and allow a button to get code. I want to get it through curl or api.
aalok
4 years agoExplorer | Level 4
Any curl API to get refresh token and how to check whether access token expired or not.plz, send me an updated API document link.
Здравко
4 years agoLegendary | Level 20
Hi aalok,
A minimalistic example of what you're asking for can be seen here. The example shows API access using CURL, but it's the same while using any other way/HTTP access method (HTTP client). Of course, once get familiar with the OAuth' idea, you can extend the example to use different authentication methods (PKCE, for instance) and improve automation (with a loopback port to get the code without copy/paste, using 'netcat' for example or similar). 😉
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!