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 agoHi John, can you elaborate on what you mean when you say it "fails to work"? What error are you getting?
The get_shared_link_metadata functionality in the API Explorer seems to be working for me:

Can you share the code and error, or a screenshot showing the issue?
Note that if you want to download the file content, you can use /2/sharing/get_shared_link_file if it's a link to a file, or modify the link as shown here and download from the modified link directly, for either folder or file links.
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!