Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
phmacena
4 years agoNew member | Level 2
How to create a folder without using the "path" parameter?
Hi! I'm trying to use the Dropbox API to create a folder within a shared folder. The problem is that I only have the "shared_folder_id", I don't have the "path". This is probably happening because the "path" parameter is different depending on the member that is accessing the shared folder.
And the path seems to be the only mandatory parameter to use.
Does anybody know if there is any other endpoint for me to use and create a folder within a shared folder using the "shared_folder_id"?
2 Replies
Sort By
- ЗдравкоLegendary | Level 20
phmacena wrote:Hi! I'm trying to use the Dropbox API to create a folder within a shared folder. The problem is that I only have the "shared_folder_id", I don't have the "path". ...
Does anybody know if there is any other endpoint for me to use and create a folder within a shared folder using the "shared_folder_id"?
Hi phmacena,
😁 When you read some documentation, read it carefully and completely. 🙂 What means "path" here? Little below your screenshot is a short description, where you can see that the absolute path is NOT an only option. More detailed description what a path could be can be seen near beginning on the same page. There you can see different form of relative paths (or almost relative, but exactly fitting your case). 😉
Hope this helps.
- Greg-DB
Dropbox Staff
phmacena Здравко is correct; while 'path' is required, it doesn't need to be an absolute path. For reference, in addition to the documentation that Здравко linked to, you can see the full allowed formats for the 'path' parameter under the 'CreateFolderArg' section in the /2/files/create_folder_v2 documentation. For instance, in particular it sounds like the "ns:123456/newfoldername" format may be useful for your use case.
About Discuss Dropbox Developer & API
Make connections with other developers810 PostsLatest Activity: 24 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!