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: 

Can we download shared files directly using Dropbox API

Can we download shared files directly using Dropbox API

snigdhakadam
Explorer | Level 3
Go to solution

Hello All,

Can we download files from sharing section(without mounting it into MyFiles section) using Dropbox API v2. Please suggest me.

Thanks.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

3 Replies 3

Mark
Super User II
Go to solution
*moves to API area*

 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 


 

Greg-DB
Dropbox Staff
Go to solution

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.

snigdhakadam
Explorer | Level 3
Go to solution

Thank you so much...!!! It is working.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    snigdhakadam Explorer | Level 3
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Mark Super User II
What do Dropbox user levels mean?