We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
mkirank
5 years agoExplorer | Level 3
Is there a way to get short lived app access token without user interaction on behalf of admin.
Is there a way to get short lived app access token without user interaction and on behalf of admin and use user impersonation to fetch user data.This is required for us as we are using a background s...
Greg-DB
Dropbox Community Moderator
5 years agoIf you want the access token to have access only to a specific member's account, then no, the Dropbox API doesn't offer anything quite like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
You can get new short-lived access tokens on demand, without further manual user intervention, if you have a "refresh token" though. Note however that the resulting access token will always have the same permissions as the original authorization that resulted in that refresh token. (That would include access to the "member file access" feature, if such access was granted.) Please refer to the OAuth Guide and documentation for information on using refresh tokens.
mkirank
5 years agoExplorer | Level 3
Thanks for the information. As you mentioned dropbox does not support access token to have access only to a specific member's account so is there a way to get application level access token and we need this to be acquired by a background process so there will be no user interaction. Let me know if it is possible through dropbox API.
- Greg-DB5 years ago
Dropbox Community Moderator
No, Dropbox doesn't offer access tokens for an app itself. Dropbox access tokens are always for a particular app-team pair or app-user pair, both of which require authorization, from a team admin or user respectively.
- mkirank5 years agoExplorer | Level 3
Ok.I am admin of a business account and let me know if there is some way for me to get team token onbhalf of my admin user account without manual user intervention.
- Greg-DB5 years ago
Dropbox Community Moderator
The authorization for any team or user account always requires some sort of manual interaction, but note that the app can store and re-use the access token/refresh token after that.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!