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 ...
- 2 years ago
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-DB
2 years agoDropbox 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,884 PostsLatest Activity: 4 hours 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!