You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

artemuss1990's avatar
artemuss1990
New member | Level 1
6 hours ago

How to get file download link

i have shared dropbox folder link url. With method "https://api.dropboxapi.com/2/files/list_folder" i get list of files. How now I can download needed file? "https://content.dropboxapi.com/2/files/download" return 400

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Whenever you get a 400 error like this, be sure to print out the response body for a more specific error message.

    To download a file from inside a folder when you have a shared link to the folder though, you should use the /2/sharing/get_shared_link_file endpoint. You would specify the shared link to the folder in the "url" parameter, and the relative sub-path to the file you want to download in the "path" parameter.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,888 PostsLatest Activity: 39 minutes ago
326 Following

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 or Facebook.

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!