We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Kamalrjn
7 years agoExplorer | Level 3
Generate downloadable links
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
- Greg-DB7 years ago
Dropbox Community Moderator
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:
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
About Discuss Dropbox Developer & API
Make connections with 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!