We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
tknoob
4 years agoNew member | Level 2
How can I get a list of folders and files for each User account
Hi, I'm new to using Dropbox. My company has a business account with most employees having a Dropbox account. We have a need to get a list of folders and files, shared folders and shared files...
Greg-DB
Dropbox Community Moderator
4 years agoYes, the Dropbox API offers functionality like this. You may want to check out the following guides to get started:
- https://www.dropbox.com/developers/reference/getting-started
- https://developers.dropbox.com/dbx-file-access-guide
- https://developers.dropbox.com/dbx-sharing-guide
For instance:
- to list the contents of any particular 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 shared folders: https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folders & https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folders-continue
- to list received shared files: https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files & https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files-continue
- to list the owner/members of a shared folder: https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members & https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members-continue
By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints: https://www.dropbox.com/developers/documentation#sdks
tknoob
4 years agoNew member | Level 2
Thanks for the info. As an example, in the case of using the list_folder API, how do I specify the User account of the folders I want to view?
I'm an admin, I just want to get every User's file listing.
Thanks.
- Greg-DB4 years ago
Dropbox Community Moderator
For that, you would use the "member file access" feature as documented here:
https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access
About Discuss Dropbox Developer & API
Make connections with 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!