I want to list all shared files and their members in dropbox account and find below to do that.
1. List all namespaces with API "/2/team/namespaces/list" 2. Iterate namespaces and make API call "/2/files/list_folder" to list files and folders associiated to that namespace 3. Namespaces which are associated with user's homepsace we get team_member_id also in list namespace API, this team_member_id I am using while listing file members with API "/2/sharing/list_file_members" file member API doesn't support Dropbox-API-Select-Admin(Whole Team) header that means we will have to pass team_member_id of the user who has permission to access that file in order to list file members. 4. So for files which are under shared folder or team folder how do I list file members as I don't know team_member_id who has permission to call that API before hand?