Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'd like to get the public dropbox link for a local file.
E.g.: https://www.dropbox.com/s/<some id>/v16.90.0310_beta.zip?dl=0
is the public dropbox link for the local file:
Is there a way to get this one with an API (preferred: Python) call? Unfortunately the Windows Version doesn't have a CLI interface (like the linux version) which would make the whole thing pretty easy...
Yes, the Dropbox API does offer the ability to get shared links for files. If you use the Python SDK, you can use the sharing_create_shared_link_with_settings method.
Or, if you prefer to use the HTTP endpoints themselves, that's /2/sharing/create_shared_link_with_settings.
Thank you, Gregory!
That's enough to write a small script that does what I need 🙂
If you need more help you can view your support options (expected response time for a 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!