cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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: 

API: Folder and Recursive search for File or Folder by name (and by extension)?

Highlighted

API: Folder and Recursive search for File or Folder by name (and by extension)?

Explorer | Level 4

Good day,

Through the main user console of an Dropbox account, one can search for files by name:

https://help.dropbox.com/files-folders/sort-preview/search

It is not clear looking at the API documentation if it possible via API to search for a file (by name or extension) and for a Folder (by name)?

Search either:

  • Only within a specific Folder (not recursive) given Path or ID?
  • Recursively from a Folder given Path or ID?

Thx

1 Reply 1
Highlighted

Re: API: Folder and Recursive search for File or Folder by name (and by extension)?

Dropboxer

The Dropbox API does offer the ability to programmatically search in the connected account, with a number of different options. You can find more information in the documentation here:

https://www.dropbox.com/developers/documentation/http/documentation#files-search

You can specify the query, such as a file or folder name or file extension, that you want to search for you in the "query" parameter. 

You can also restrict the search to a particular path using the "path" parameter under the "options" field, specifying either path or ID.

It's not currently possible to request non-recursive search, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?