You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
DhruvalGolakiya
2 years agoExplorer | Level 3
So I want to create new folder via api inside team folder which is already created in dropbox.
So I have team folder 'https://www.dropbox.com/home/Shared%20Folder/Team%20Folder' something like this Shared Folder -> Team Folder both folder is Team Folder and Now I want to create another team folder inside Team Folder any idea how to do it as I'm new to dropbox api if I'm right I can't do it using User API right have to use Business api.
To create a folder, you would use the /2/files/create_folder_v2 endpoint (or corresponding method in an SDK). That's a user-endpoint, not a team endpoint.
Note that by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, you can create folders in the team space. You can configure API calls to operate in the "team space" instead though, in order to interact with files/folders in the team space, such as to create folders inside a shared/team folder in the team space using /2/files/create_folder_v2. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on how to use this in the Team Files Guide.
- Greg-DBDropbox Staff
To create a folder, you would use the /2/files/create_folder_v2 endpoint (or corresponding method in an SDK). That's a user-endpoint, not a team endpoint.
Note that by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, you can create folders in the team space. You can configure API calls to operate in the "team space" instead though, in order to interact with files/folders in the team space, such as to create folders inside a shared/team folder in the team space using /2/files/create_folder_v2. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on how to use this in the Team Files Guide.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 22 minutes agoIf 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!