# How to get the account id in the ui

**URL:** <https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742>\
**Category:** API and Webhooks\
**Created:** [March 26, 2020, 1:36pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742 "2020-03-26T13:36:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![iperry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iperry/32/6717_2.png) [@iperry](https://devforum.zoom.us/u/iperry)\
**Post date:** [March 26, 2020, 1:36pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/1 "2020-03-26T13:36:53Z")

</div>

Hi,

i was wandering if i can see my account id in the UI.

the reason i need it is:

I’m writing an integration app with our product that will be used by multiple customers with different zoom accounts.

while i can get their account id from the access token i need a way for them to supply it in our own application so i can link their zoom account id with our account id

is this possible?

thanks

---

<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:** [March 26, 2020, 9:19pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/2 "2020-03-26T21:19:34Z")

</div>

Hey @iperry, thanks for posting and using Zoom! 🙂

Unforunatly you cannot get your Account ID in the Zoom UI.

> [@iperry](#):
>
> while i can get their account id from the access token i need a way for them to supply it in our own application so i can link their zoom account id with our account id

Can’t you do this in the [OAuth flow](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom) after they have installed your app so you can get the account ID from the access\_token?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![iperry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iperry/32/6717_2.png) [@iperry](https://devforum.zoom.us/u/iperry)\
**Post date:** [March 29, 2020, 7:21am UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/3 "2020-03-29T07:21:09Z")

</div>

Hi,

I do get their account id from the OAuth flow. However, I need to correlate zoom account id with our account id. Since the Oauth authorization, flow is asynchronies. When it happens, I do not know which of our accounts approved our application. Therefore, I will need to provide them an easy procedure to extract their zoom account id and give it to us so I can have a match between zoom account id and our account id

Is there another way for a customer to easily get their zoom account id?

Thanks

---

<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:** [March 30, 2020, 8:45pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/4 "2020-03-30T20:45:23Z")

</div>

Hey @iperry,

Unfortunately no. Why do you need to have a match between your accountID and their accountID?

Are you trying to create a whitelist of who can install your app?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![iperry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iperry/32/6717_2.png) [@iperry](https://devforum.zoom.us/u/iperry)\
**Post date:** [April 1, 2020, 10:53am UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/5 "2020-04-01T10:53:09Z")

</div>

we are going to correlate zoom meeting qos data with device info we collect in our application in order to better help accounts troubleshoot issues they might have in zoom. for example is there a problem with users using vpn, wifi and much more. therefore we need to match zoom account id with our own account id

---

<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:** [April 1, 2020, 5:55pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/6 "2020-04-01T17:55:32Z")

</div>

Hey @iperry,

The only way to do this would be to get their accountID after they install your OAuth app.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![iperry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iperry/32/6717_2.png) [@iperry](https://devforum.zoom.us/u/iperry)\
**Post date:** [July 28, 2020, 2:03pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/7 "2020-07-28T14:03:50Z")

</div>

Hi Tommy,  
In the end we decoded the access token in order to get the account id and it worked for a while.  
however now the access token version changed from 6 to 7 and currently it does not contain the zoom account id. how can we get this information now.

keep in mind that currently our app permissions are

1. dashboard\_meetings:read:admin
2. meeting:read:admin

and we don’t want to add another permission to our app in-order to use only one time an api that will get us the account id

Thanks,  
Ido

---

<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:** [July 30, 2020, 6:48pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/8 "2020-07-30T18:48:59Z")

</div>

Hey @iperry,

Your best solution is to use the [Get User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) to get the account\_id.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rtalmor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rtalmor/32/13262_2.png) [@rtalmor](https://devforum.zoom.us/u/rtalmor)\
**Post date:** [August 9, 2020, 3:18pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/9 "2020-08-09T15:18:28Z")

</div>

Hi Tommy,

Thank you for your support. I work with Ido and I have a follow up question: In your documentation there are 2 types of related permissions - user:read and user:read:admin and the difference between them is that user:read:admin allows you to revoke a user’s SSO token ([https://marketplace.zoom.us/docs/guides/auth/oauth/oauth-scopes](https://marketplace.zoom.us/docs/guides/auth/oauth/oauth-scopes)). We are fine with user:read of course (because GET /users/{user id} supports both user:read and user:read:admin scopes) but unfortunately, the only options that are available for our application in Add Scopes \> User are user:master , user:read:admin , user:write:admin.  
Please advise how to solve this.

Thanks,  
Revital

---

<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:** [August 10, 2020, 7:51am UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/10 "2020-08-10T07:51:21Z")

</div>

Hey @rtalmor,

Apologies I am a little confused. Which scope are you looking to add that is not listed in the scopes section of your app?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rtalmor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rtalmor/32/13262_2.png) [@rtalmor](https://devforum.zoom.us/u/rtalmor)\
**Post date:** [August 10, 2020, 8:12am UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/11 "2020-08-10T08:12:41Z")

</div>

We would like to use user:read

---

<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:** [August 10, 2020, 7:23pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/12 "2020-08-10T19:23:36Z")

</div>

Hey @rtalmor,

The user:read scope is only available on User Level OAuth apps. That being said, the user:read:admin scope is essentially the same thing, but can be used to read any user in the Zoom account that authorizes the app.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rtalmor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rtalmor/32/13262_2.png) [@rtalmor](https://devforum.zoom.us/u/rtalmor)\
**Post date:** [August 11, 2020, 8:32am UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/13 "2020-08-11T08:32:21Z")

</div>

Makes sense. I’m troubled by the revoke SSO API that is part of the user:read:admin. I hope that our customers will not be troubled by it.  
Thanks for all your support @tommy.

---

<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:** [August 11, 2020, 5:51pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/14 "2020-08-11T17:51:49Z")

</div>

Hey @rtalmor,

I do not fully understand what your issue is. The [Revoke SSO Token](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userssotokendelete) endpoint requires the `user:write:admin``user:write` scopes.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rtalmor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rtalmor/32/13262_2.png) [@rtalmor](https://devforum.zoom.us/u/rtalmor)\
**Post date:** [August 12, 2020, 8:09am UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/15 "2020-08-12T08:09:31Z")

</div>

This is what I understand from your documentation @tommy:

 ![zoom user read admin scope](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/2b727f0af2c3d1b08d524deec4447fd23f21029b.png)

---

<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:** [August 12, 2020, 6:22pm UTC](https://devforum.zoom.us/t/how-to-get-the-account-id-in-the-ui/9742/16 "2020-08-12T18:22:03Z")

</div>

Hey @rtalmor,

Thanks - we will update the docs to reflect the Revoke a User’s SSO Token also works with the `user:write` scope.

CC @shrijana.g

-Tommy
