One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
blue
8 years agoExplorer | Level 4
Share folder with path instead of folder id
Is it possible to use an API call to share a folder with a user using the folder path instead of the folder id?
- 8 years ago
No, /2/sharing/add_folder_member is the only way to invite a new member to a shared folder, and it only accepts a shared folder ID, not a path.
You can get the shared folder ID in any Metadata object for the folder, e.g., as returned by /2/files/get_metadata, which does accept a path.
Greg-DB
Dropbox Staff
8 years agoWhen initially creating a shared folder, or making an existing folder a shared folder, using /2/sharing/share_folder, you must supply a path.
When inviting another user to a shared folder though, using /2/sharing/add_folder_member, you need to supply the shared folder ID.
blue
8 years agoExplorer | Level 4
So there is no other way to invite another user to a shared folder with a path rather than using folder ID?
- Greg-DB8 years ago
Dropbox Staff
No, /2/sharing/add_folder_member is the only way to invite a new member to a shared folder, and it only accepts a shared folder ID, not a path.
You can get the shared folder ID in any Metadata object for the folder, e.g., as returned by /2/files/get_metadata, which does accept a path.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,952 PostsLatest Activity: 7 hours ago
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 or Facebook.
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!