Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
mrtn
1 year 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 Community Moderator
11 months 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 and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!