We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
paradoxIn
4 years agoExplorer | Level 4
How to list all the shared files and folders
Hii, I have used the https://api.dropboxapi.com/2/sharing/list_folders with Dropbox-API-Select-User header, but only the folders shared is retrieved, also, only top level folders (root folders) are...
Greg-DB
Dropbox Community Moderator
4 years agoUsing /2/sharing/list_folders and /2/sharing/list_folders/continue is the right way to list the shared folders for an account. That only lists the shared folders themselves, not their contents. To list the contents of any particular folder, shared or not, you should use /2/files/list_folder and /2/files/list_folder/continue.
To list the files that have been individually shared with the account, you should use /2/sharing/list_received_files and /2/sharing/list_received_files/continue.
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!