Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
andyschwartz
4 years agoNew member | Level 2
Fetch folder URL with Dropbox folder ID??
1st, I am not a developer. I can use webhooks with Zapier and understand things...that's about it.
I use a web app in my company that creates a Dropbox folder automatically in my account for each "Order" placed. I can get a webhook payload from the app that contains "Dropbox Folder Identifier" which the value looks something like: id:j30bOvS0fLgAAAAEw_w (made-up example) etc.
What I need to do is have the friendly URL for the folder returned in a Slack channel Message upon creation, so that the appropriate person can get to it quickly. OR a way to use/append a URL to access the folder with the ID (cant seem to figure this out)
Can anyone help with this?
1 Reply
- Greg-DB4 years ago
Dropbox Community Moderator
Dropbox unfortunately does not support a way to directly get a link to a folder from an ID like this exactly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
There are some things you may work, though they may require some programming.
If the folder happens to be a shared folder, one could call /2/files/get_metadata with the 'path' set to the ID of the folder to get the 'sharing_info.shared_folder_id' which is the shared folder ID, and then call /2/sharing/get_folder_metadata with that 'shared_folder_id' to get the 'preview_url'.
Alternatively, one could call /2/sharing/create_shared_link_with_settings with the 'path' set to the ID of the folder, and 'settings.audience' to to 'no_one' to get a link that would refer to the folder on the web site for anyone who has access to it, though not directly enable any additional access to it.
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!