I am working on Dropbox Integration with Adobe Sign. For this, we want to show the user the path from where he has picked the file the path i am getting from the API is not having root folder info. So where will i get the root folder name(Some places i can see it "Personal", "Dropbox" and at other places the team folder name. The team folder name i will be able to get it. But from where to find the home folder name in case of basic accounts?
That "Personal" label isn't an actual folder path. It's just the label shown in the UI to help the user identify the account. When using the API to identify files and folders in the account, you don't need to include "Personal" or "Dropbox". For example, a path to a file would just look like "/Getting Started.pdf".
You can identify the type of account from the FullAccount.account_type field returned by /2/users/get_current_account though: