cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: Get files on the basis of extension like .pdf, .docx etc

Get files on the basis of extension like .pdf, .docx etc

Zill-e-Abbas
New member | Level 2

Hello, I am working with latest Api of dropbox and have implemented 

https://api.dropboxapi.com/2/files/list_folder

the above api and in response i am getting all files and folders. My question is when i make this request i want to get files with specific extension like .pdf or .docx. Do i want to send some extra parameter with it ?? If it is possible, need help for it. Thank you 

2 Replies 2

Greg-DB
Dropbox Staff
The Dropbox API doesn't offer server-side filtering for file types like that. You'll need to filter client-side. We'll consider it a feature request though.

Alternatively, you may be able to use /2/files/search depending on your use case:

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

santosh111
Explorer | Level 3

@Zill-e-Abbas

Hi. 

Can u please send me the code which u imlemented to list the files and folder.

Thanks.

Need more support?