We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Aupajo
8 years agoNew member | Level 2
Getting the team member ID for Dropbox Business API
Users authenticated via a Dropbox Business app must provide a member_id (by the Dropbox-Select-User header, for example) when making a User Endpoint request. It's not clear how to fetch that memb...
- 8 years ago
Which "authenticated user" do you mean, exactly? Note that Dropbox Business API apps are linked to the entire team, not a specific member, so for any given Dropbox Business API app linked to a team, there isn't exactly a specific member implied.
If you mean the particular member that happened to authorize the app to connect to the team, you can look them up using /2/team/token/get_authenticated_admin. Note that this will vary by access token though, and isn't necessarilly the current end-user of your app. It also won't necessarilly be available for every access token.
Alternatively, if you're looking for a particular member based on a known email address or external ID, you can look them up using /2/team/members/get_info.
Greg-DB
8 years agoDropbox Staff
Which "authenticated user" do you mean, exactly? Note that Dropbox Business API apps are linked to the entire team, not a specific member, so for any given Dropbox Business API app linked to a team, there isn't exactly a specific member implied.
If you mean the particular member that happened to authorize the app to connect to the team, you can look them up using /2/team/token/get_authenticated_admin. Note that this will vary by access token though, and isn't necessarilly the current end-user of your app. It also won't necessarilly be available for every access token.
Alternatively, if you're looking for a particular member based on a known email address or external ID, you can look them up using /2/team/members/get_info.
- Aupajo8 years agoNew member | Level 2
Perfect! Yes, I was looking for the authenticated admin's team member ID.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months 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!