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
sffatcat
2 years agoNew member | Level 2
access token for a Team folder
is it possible to generate a access token for a Team folder? then use the token in script to send file to the Team folder? I know we can do a app on user's own personal folder with a token.
- 2 years ago
sffatcat Yes, as long as the app is authorized with the necessary permissions (i.e., full Dropbox access, with the necessary scopes, which would be files.metadata.read for listing files, and files.content.read for downloading files), the app could access anything that the account has access to, including team folders.
Greg-DB
Dropbox Staff
sffatcat As Здравко indicated, access tokens are connected to a specific account/team, not specific existing team folders. Dropbox does not offer the ability to grant an app/access token access to specific existing folder(s) only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
And as they mentioned, you can use the API to access whatever the connected account has access to, but in order to access the team space, if applicable, you would need to set the Dropbox-API-Path-Root header. You can find information on that in the Team Files Guide.
sffatcat
2 years agoNew member | Level 2
so, if as a user, doing a app, generate a token, and user also has permission to a Team folder.
does this token also works for accessing the Team folder?
- Greg-DB2 years agoDropbox Staff
sffatcat Yes, as long as the app is authorized with the necessary permissions (i.e., full Dropbox access, with the necessary scopes, which would be files.metadata.read for listing files, and files.content.read for downloading files), the app could access anything that the account has access to, including team folders.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 5 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!