# Is it possible to get Account information using REST API?

**URL:** <https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750>\
**Category:** API and Webhooks\
**Created:** [November 20, 2019, 12:44pm UTC](https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750 "2019-11-20T12:44:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sitting](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sitting/32/754_2.png) [@Sitting](https://devforum.zoom.us/u/Sitting)\
**Post date:** [November 20, 2019, 12:44pm UTC](https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750/1 "2019-11-20T12:44:36Z")

</div>

We need to show account information for users who have authorized using OAuth in our Zoom Application.

The same as displayed on the account profile page.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f4e6a0ad62e8f7c1db98d569f81ffa039c199c41.png)

Is there a way to do that?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 20, 2019, 10:41pm UTC](https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750/2 "2019-11-20T22:41:16Z")

</div>

Hey @Sitting,

You can use the following endpoint to get Account Information via our API:

> **[List Sub Accounts - Accounts - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts)**
>
> List all the Sub Accounts under the Master Account.
> 
> 
> 
> Prerequisites:
> 
> Pro or a higher paid account with Master Account option enabled. 
> Scope: account:...

Due note: “Only master accounts can create and have sub accounts. Zoom only assigns this privilege to trusted partners.”

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Sitting](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sitting/32/754_2.png) [@Sitting](https://devforum.zoom.us/u/Sitting)\
**Post date:** [November 21, 2019, 5:13am UTC](https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750/3 "2019-11-21T05:13:42Z")

</div>

Hey @tommy,

Thanks for your response. Unfortunately, it won’t work for us. We need to show some information about an account that a user is using just to let them know what account is in charge and let them connect another one. Just the name of the account and user’s role will probably be enough.

Thanks,  
Anton

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 21, 2019, 6:06pm UTC](https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750/4 "2019-11-21T18:06:40Z")

</div>

Hey @Sitting,

The `account_id` and `role_name` are returned from our Get User API:

> **[Get a Specific User - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)**
>
> A Zoom account can have one or more users. Use this API to view information of a specific user on a Zoom account.
> Scopes: user:read:admin user:read

We also have role API endpoints here:

> **[Roles - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/roles)**
>
> Stoplight Hubs are the easiest way to generate API documentation, technical guides, tutorials, and more! Powered by Stoplight.io

And as a little trick, if you [JWT Decode](http://jwt.io/) the users [access\_token](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#request-access-token), there is information like the user\_id and account\_id.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:04pm UTC](https://devforum.zoom.us/t/is-it-possible-to-get-account-information-using-rest-api/6750/5 "2020-08-21T19:04:46Z")

</div>

Closed on August 21, 2020, 7:04pm UTC


