Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
shaoyunwu
7 days agoNew member | Level 2
Is it possible for non-admin users to get team files and upload them to S3?
Hello everyone, I have a question. I just started using the Dropbox API. Now I have a question. Can non-admin users get the files under the team through the API and upload them to AWS S3? I found that if my app adds the team_data.content.read permission, it will prompt when trying to authorize: You must be a team administrator to authorise this app. Either log in to a Dropbox for Business admin account or contact an existing administrator for your team. My question is, is it possible for non-admin users to get team files and upload them to S3, or does it have to be obtained by an admin user?
1 Reply
Sort By
- DB-Des
Dropbox Engineer
Hi shaoyunwu,
API apps with team scopes can only be authorized by team admins.
Based on the brief description of your use case, it sounds like you might be able to achieve your goal by interacting with User Endpoints only. In which case, you can just remove team scopes and have team members authorize your app to act on their behalf as needed.
If you determine your app still needs team scopes, to interact with Business Endpoints, you can configure API calls to operate as a selected user by using the "Dropbox-API-Select-User" header. You can find information on how to use this in the Team Files Guide.
Keep in mind that the Business Endpoints requiring the 'team_data.content.read' scope do not return any files to download, that can be achieved with User Endpoints, such as /2/files/download.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,987 PostsLatest Activity: 52 minutes 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!