I need to get the files/folders info from other users in my organization using the rest/java API. I could get the files/folders info only for the user that asked for the token, I couldn't find anything about it in the API.
Is this thing possible?
If your app is registered for the Dropbox API, it can only access the account of the user that authorized the app.
If your app is registered for the Dropbox Business API, it can access the account of any member of the team it's linked to. There's more information the documentation here.
You can choose the API when first registering an app. Note that the Java SDK, if you wanted to use that, doesn't currently have support for the Business API, so you'd need to call the endpoints directly.