One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
mrtn
7 days agoNew member | Level 1
Shared folder access with Token
Hi! I seem to have a simple access problem with my Token. I am part of a team which has a shared folder which I am trying to access with the API, and while I have it working for files in my own dire...
iNeil
Dropbox Engineer
4 days agoHi mrtn,
Please note that, by default, API calls to the Dropbox API operate in the 'member folder' of the connected account rather than the "team space" where the team folders are located.
If you need to access the team folder named "DATA", you need to configure your API calls to operate in the "team space" by setting the "Dropbox-API-Path-Root" header with your Dropbox API request. Below I have provided an example "Dropbox-API-Path-Root" header value to access the team space:
Dropbox-Api-Path-Root: {".tag": "root", "root": "YOUR_ROOT_NAMESPACE_ID"}
You should be able to identify the root_namespace_id by executing the 2/users/get_current_account endpoint. You can also test the 2/users/get_current_account endpoint using our Dropbox API explorer. For further information, please review the following link:
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,951 PostsLatest Activity: 12 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!