We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
alicera
5 years agoExplorer | Level 3
get download link
How to get a file download link with python and javascript?
Greg-DB
Dropbox Community Moderator
5 years agoIf you need to download a file via the API, you can do so directly by using /2/files/download. That's files_download in the Python SDK, and filesDownload in the JavaScript SDK.
If you do need to download a file from a URL instead of directly from an API call though, you can call /2/files/get_temporary_link to get a temporary link to the file, which you can then use to download the file. That's files_get_temporary_link in the Python SDK, and filesGetTemporaryLink in the JavaScript SDK.
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!