As a part of my POC, I need to check in a user's account if a particular folder is present or not. If not, then I need to create that folder in the user's account. I am having admin account in Business Dropbox and I am able to list folders for my account, using the below user endpoint, passing my access token having Full Dropbox access,where I can maniuplate the output.
My question is, how can I check the list of folders in another account and then create the folder if it doesnot exist. Would it require Business endpoints/token of app with 'Team Information' access. Also, would 'create folder' API (https://api.dropboxapi.com/2/files/create_folder) work for that account or only for my account.
For a normal (not Business) Dropbox API app, the app gets connected to individual user accounts. When you connect a user account, the app gets an access token for that particular account. Using that token, both /2/files/list_folder and /2/files/create_folder will operate on that particular account. To operate on a different account, that other user will need to connect the app to their account, giving the app a different access token.