We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Shilpa M.
10 years agoNew member | Level 1
Import Email shared file by api.
How can I Download file where I get shared file in mail.
Is there any method in api to get this link.
Greg-DB
Dropbox Community Moderator
10 years agoThanks for elaborating John! This is related to the issue I was referring to in my comment earlier in this thread on May 4.
To expand on that though, the links included in emails like this aren't intended for programmatic consumption, but to do so, you'd need to make a normal HTPT GET request to it first to get the supported version. The response should be a redirect with a "Location" header containing the redirected address.
Also, note that there are different kinds of sharing in Dropbox, as well as different access controls, so I can't guarantee this will always work. For example, the sample link you included is intended for a specific recipient, so that access control will prevent you from doing exactly what you want via the API unfortunately.
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!