Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Hrvoje A.
10 years agoNew member | Level 1
Logging to API (for folder/file listing/downloading) with least number of credentials?
I am trying to make an option for every user, to log to his Dropbox via my website (API), and there his files will be listed. After that he can do other stuff which are not important for this questio...
Greg-DB
Dropbox Community Moderator
10 years agoThanks for elaborating. The end users of your app don't need to enter any app name or anything to identify your app. When a user uses your app, e.g., by browsing to your app's web site, your app has its own app key already, and directs the user through an OAuth flow. This sends them to Dropbox to authorize your app. At that point, they will log in to Dropbox, if they aren't already logged in, however they normally login, e.g., using their username and password. The user is then sent back to your app. This way, your app never needs to handle user credentials. You can find more information on how this works in the OAuth guide here:
https://www.dropbox.com/developers/reference/oauthguide
We recommend using one of the official SDKs, if possible, as they'll do most of the work for you:
https://www.dropbox.com/developers/core
Once a user is linked to your app, you can use the /delta endpoint to get the full list of files and folders in the user's Dropbox account:
https://www.dropbox.com/developers/core/docs#delta
https://blogs.dropbox.com/developers/2013/12/efficiently-enumerating-dropbox-with-delta/
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!