Hi,
We are using Java sdk to access apis of dropbox. Can you guys please inform us how to download content of a file present in a shared folder or group folder with team level access token.
Thanks in advance
If you're using the Dropbox Java SDK with an app with the "team member file access" permission and want to download files via the team member file access feature, you should first make a DbxTeamClientV2 with the team's access token. Then, you can call DbxTeamClientV2.asAdmin or DbxTeamClientV2.asMember, depending on your use case, to get a DbxClientV2 with the "Dropbox-API-Select-Admin" or "Dropbox-API-Select-User" header set, respectively.
You can also use DbxClientV2.withPathRoot to set the "Dropbox-API-Path-Root" header if needed. I recommend reviewing the Namespace Guide and Content Access Guide for more information on how the filesystem is structured and how to access different parts like this.
You can use the resulting DbxClientV2 to download files as desired using the DbxUserFilesRequests.download method.