We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
dsoprea
3 years agoHelpful | Level 6
Listing members in a team via Python
So, the event we receive via webhooks to a 'full dropbox'-scoped app looks like:
[2023-09-15 22:55:42,859 wew.handler_plugins. DEBUG] Received Dropbox event:
{
"delta": {
"te...
Greg-DB
Dropbox Community Moderator
3 years agodsoprea I see Здравко already offered some helpful guidance, but to add a bit more information:
When using only "user scopes", an app will only be linked to specific accounts, and webhooks would notify only about specific accounts. You can find the documentation for that kind of webhooks here.
When using "team scopes", an app will be linked to entire teams, and webhooks would notify at the team level, as you saw. You can find the team-specific webhooks documentation here.
To call the API to get information about a particular team, you would use the team_get_info method. Note that that method does not take a team ID parameter as you have in your first comment. It takes no parameters and instead identifies the team based on the access token you use to make that call. Accordingly, you'll need to keep track of which access/refresh token is for which team.
To get the list of members for any given team, you would use team_members_list/team_members_list_continue.
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!