We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
snigdhakadam
7 years agoExplorer | Level 3
Can we download shared files directly using Dropbox API
Hello All,
Can we download files from sharing section(without mounting it into MyFiles section) using Dropbox API v2. Please suggest me.
Thanks.
If you're referring to shared files (listed under https://www.dropbox.com/share/files), you can programmatially list these using /2/sharing/list_received_files[/continue] and download them using /2/sharing/get_shared_link_file by supplying the preview_url.
If you're referring to files inside unmounted shared folders (listed under https://www.dropbox.com/share/folders), you can likewise list these using /2/sharing/list_mountable_folders[/continue] and access file data using /2/sharing/get_shared_link_file by supplying the preview_url for the shared folder, and the path for the file under it.
- MarkSuper User II*moves to API area*
- Greg-DBDropbox Staff
If you're referring to shared files (listed under https://www.dropbox.com/share/files), you can programmatially list these using /2/sharing/list_received_files[/continue] and download them using /2/sharing/get_shared_link_file by supplying the preview_url.
If you're referring to files inside unmounted shared folders (listed under https://www.dropbox.com/share/folders), you can likewise list these using /2/sharing/list_mountable_folders[/continue] and access file data using /2/sharing/get_shared_link_file by supplying the preview_url for the shared folder, and the path for the file under it.
- snigdhakadamExplorer | Level 3
Thank you so much...!!! It is working.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!