You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
TAP
8 years agoExplorer | Level 4
API endpoint for list of folder names and paths?
Is there an endpoint that will return a list of folder names and paths? Use-case: presenting my users with a dropdown containing various folders they may send a file to.
- 8 years agoYes, to list files and folders in Dropbox, you should use the /2/files/list_folder[/continue] endpoints:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
To list root, use the empty string "" as the path. To list a non-root path, pass in the path like "/path/to/folder".
Greg-DB
Dropbox Staff
Yes, to list files and folders in Dropbox, you should use the /2/files/list_folder[/continue] endpoints:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
To list root, use the empty string "" as the path. To list a non-root path, pass in the path like "/path/to/folder".
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
To list root, use the empty string "" as the path. To list a non-root path, pass in the path like "/path/to/folder".
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 2 hours agoIf 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!