We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
artemuss1990
2 years agoNew member | Level 1
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/do...
Greg-DB
Dropbox Community Moderator
2 years agoWhenever 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
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!