Account Level Information

Description
I’m developing an account level zoom app for an integration. We want to display a some account level information: name or account number. Is there a way to get the top owner of the account? From there I’m assuming we could use the users API to get their info.

Also I know that I can get the accountID from the refresh token, but is there a way for me to get account level information with that id?

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Hey @iankc,

You can use the roles endpoints to accomplish this:

You can use the accountID to call the account endpoints if you have the respective prerequisites.

Thanks,
Tommy

Is it guaranteed that there will be a user with the owner role on the account? How would I find the user with highest privileges if not?

Hey @iankc,

Yes, there will always be an account owner.

Thanks,
Tommy