Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sreeraj
8 years agoExplorer | Level 3
How to list the contents of a team folder?
I am using dropbox business account and API v2.0. I have team folder with many subfolders and files in it. When I call the api /team_folder/list I get the name of the team folder. But how do I get li...
- 8 years agoIn order to list the contents of a folder, such as a team folder, you should use /2/files/list_folder[/continue]:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
Note that this is a user endpoint, so if you have a Business API app, you'd need to have the "team member file access" permission and use the "member file access" feature:
https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access
We don't have an official PHP SDK for Dropbox API v2, but you can use a third party library:
https://www.dropbox.com/developers/documentation/communitysdks
Or, you can call the HTTPS endpoints themselves, as you have been:
https://www.dropbox.com/developers/documentation/http/documentation
Mark
Super User II
8 years ago*moves to API forum*
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!