Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Charles Knight
9 months agoNew member | Level 2
Create new folder in existing Team Folder
Hi, I use a web site development program called Wappler which allows for the setup of API's It has a section for the URL of the API, JSON DATA and I can add headers. I used the default: https://a...
Charles Knight
9 months agoNew member | Level 2
Maybe I should have added, what should I put in the header instead of:
{".tag": "root", "root": "7"}
Would it be
{".tag": "user", "root_namespace_id": "12345678-my-number-in-here"
- DB-Des9 months ago
Dropbox Community Moderator
Hi Charles Knight,
To create a folder in your team space, the usage of "Dropbox-API-Path-Root" is correct.
In order to get your team's team space ID, you can send a request to /2/users/get_current_account to get your user's details. Make sure you are grabbing the "root_namespace_id" value within the "root_info" property from the response.
This is the value you'd then pass in the "Dropbox-API-Path-Root" header as the root. The way you had it formatted first is correct:
{".tag": "root", "root": "<root_namespace_id>"}Let us know if you are still experiencing any issues or unexpected behavior.
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!