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.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Generate downloadable links

Generate downloadable links

Kamalrjn
Explorer | Level 3

We have a huge quantity of files that are shared across geo's using Dropbox, when the share link is generated, it looks in this format : https://www.dropbox.com/s/yeywy64jyfkq/BU_3Dr.BMA?dl=0

Since this link has to generates on per-file basis, it is extremely laborious as there is a large quantity of files for which the link has to be generated, it there a way to generate these links through an API(code) or a way to decrypt the unique encryption based on the folder structure and the file name

Thank you

P.S.( I have gone through the solution given here, but, since im new to programming, i am unable to implement the same, i'd be greatfull if someone could give a little explanation on it)

1 Reply 1

Greg-DB
Dropbox Staff

Yes, the Dropbox API does offer a way to programmatically create shared links like that. 

Note that the other forum thread isn't exactly describing what you want to do though.

To create shared links using the Dropbox API, you should use the /2/sharing/create_shared_link_with_settings endpoint:

https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_...

That's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:

https://www.dropbox.com/developers/documentation

Those have corresponding native methods for the HTTPS endpoints. 

The SDKs each come with documentation that show how to get started with them, if you wish to use one.

You may also wish to review our Getting Started guide:

https://www.dropbox.com/developers/reference/getting-started

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?