cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're back with another cheat sheet to make your 2022 easier than ever! Check out our tips here

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to list only folders

How to list only folders

keval
Explorer | Level 3

I need to list down all folder without file & recursive as well.

I use below API for that
https://api.dropboxapi.com/2/files/list_folder
'path'=>'','recursive'=>true,'include_media_info'=>true,'include_mounted_folders'=>true,'include_property_groups'=>"folder"

1 Reply 1

Re: How to list only folders

Greg-DB
Dropboxer

The Dropbox API unfortunately does not offer a way to list folders only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

As a workaround, you'll need to list everything and filter out the file entries client-side.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?