We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
kuznetsovvl
4 years agoExplorer | Level 4
Shared link to folder from another Dropbox account
Hey I'm working with getting contents from shared link provided from another dropbox account.
I know that I can get list of content using `2/files/list_folder` endpoint with the `shared_link` argu...
Greg-DB
Dropbox Community Moderator
4 years agoUnfortunately there isn't a way to use recursive mode when listing via a shared link, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You'd need to perform the recursion via your own code, by calling /2/files/list_folder[/continue] with each relevant sub-path, if you need nested entries.
If you then need to call /2/sharing/get_shared_link_metadata for a particular file in the linked folder, you can build the "path" value based on the "name" values from the /2/files/list_folder[/continue] result. For example, if there's a file named "example.txt" in the folder, the path would be "/example.txt". Or if it is nested in a sub-folder named "some folder" inside the linked folder, the path would be "/some folder/example.txt".
If you just want to download a file's content directly via a shared link for a parent folder though, you can use /2/sharing/get_shared_link_file, likewise specifying the original shared link for the folder, and the sub-path built from the "name" values.
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!