# Where to find the account ID?

**URL:** <https://devforum.zoom.us/t/where-to-find-the-account-id/7159>\
**Category:** API and Webhooks\
**Created:** [December 20, 2019, 7:54pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159 "2019-12-20T19:54:48Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivanesan.murugesan](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sivanesan.murugesan](https://devforum.zoom.us/u/sivanesan.murugesan)\
**Post date:** [December 20, 2019, 7:54pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/1 "2019-12-20T19:54:48Z")

</div>

Hi,  
We have created a zoom admin user(admin account) with some additional users(user account). I would like to test the following rest API. It throws 404 error when I tried to use the “account number” value available in the Admin user’s account profile page.

# /accounts/{accountId}/recordings

My zoom app has following required scopes for the above API

1. `recording:read:admin`
2. `account:read:admin`

Can you please let me know how to access the above API? I would like to list all the meetings/recordings done by all the users in the respective account(admin account)?

I appreciate your help.

Thanks,  
smsivanesan

---

<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:** [December 20, 2019, 9:40pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/2 "2019-12-20T21:40:24Z")

</div>

Hey @sivanesan.murugesan,

To get the account ID, you can [JWT decode](https://jwt.io/) an [OAuth access\_token](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#request-access-token).

 ![Screen Shot 2019-12-20 at 2.39.49 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/278fb7bc49265442b25756112f86f209ec8d8924.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sivanesan.murugesan](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sivanesan.murugesan](https://devforum.zoom.us/u/sivanesan.murugesan)\
**Post date:** [December 20, 2019, 11:08pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/3 "2019-12-20T23:08:19Z")

</div>

Hi Tommy,

I have already tried with that. I mean, I got the same account ID(as the decoded one) from “/v2/users/me” API and used in the " /accounts/{accountId}/recordings". But no luck. It was throwing 404 error.

Thanks,  
smsivanesan

---

<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:** [December 23, 2019, 5:16pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/4 "2019-12-23T17:16:11Z")

</div>

Hey @sivanesan.murugesan,

Can you share the full GET request url including the accountId so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sivanesan.murugesan](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sivanesan.murugesan](https://devforum.zoom.us/u/sivanesan.murugesan)\
**Post date:** [January 8, 2020, 7:11pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/5 "2020-01-08T19:11:53Z")

</div>

Hi Tommy, Sorry for the late response.

Here are the GET requests, I tried.  
GET Request: 1  
[https://api.zoom.us/accounts/me/recordings](https://api.zoom.us/accounts/me/recordings)  
headers:  
Authorization: bearer   
Result: 404

GET Request: 2  
[https://api.zoom.us/accounts/\_Mqr6z4ERnSGTuTcgoOCWA/recordings](https://api.zoom.us/accounts/_Mqr6z4ERnSGTuTcgoOCWA/recordings)  
headers:  
Authorization: bearer   
Result: 404

Following APIs are working for the same user:  
/v2/users/me/recordings?page\_number=1&page\_size=30&from=2019-09-01  
/v2/users/me

Thanks,  
smsivanesan

---

<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:** [January 8, 2020, 9:21pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/6 "2020-01-08T21:21:43Z")

</div>

Hey @sivanesan.murugesan,

Please make sure you are using a valid endpoint url. The two urls you shared are missing the /v2/ path.

Try these:

[https://api.zoom.us/v2/accounts/me/recordings](https://api.zoom.us/v2/accounts/me/recordings)

[https://api.zoom.us/v2/accounts/\_Mqr6z4ERnSGTuTcgoOCWA/recordings](https://api.zoom.us/v2/accounts/_Mqr6z4ERnSGTuTcgoOCWA/recordings)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sivanesan.murugesan](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sivanesan.murugesan](https://devforum.zoom.us/u/sivanesan.murugesan)\
**Post date:** [January 11, 2020, 12:39am UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/7 "2020-01-11T00:39:02Z")

</div>

Thanks Tommy. Below one works fine now.  
[https://api.zoom.us/v2/accounts/me/recordings](https://api.zoom.us/v2/accounts/me/recordings)

Other one with accountId throws 401 error. Looking at it. Will come back to you if I see any further issues.

Thanks,  
smsivanesan

---

<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:** [January 13, 2020, 5:02pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/8 "2020-01-13T17:02:51Z")

</div>

Happy to hear it’s working! 🙂

Let us know if you run into any other issues!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![EVant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/evant/32/3511_2.png) [@EVant](https://devforum.zoom.us/u/EVant)\
**Post date:** [March 15, 2020, 7:33am UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/9 "2020-03-15T07:33:10Z")

</div>

I’m writing scripts using JWT, as an admin is there a way to get it without OAuth?

---

<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 16, 2020, 4:50pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/10 "2020-03-16T16:50:31Z")

</div>

Hey @EVant,

You can get the account ID via the [Get User endpoint.](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kirankumar](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@kirankumar](https://devforum.zoom.us/u/kirankumar)\
**Post date:** [June 15, 2020, 4:36am UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/11 "2020-06-15T04:36:37Z")

</div>

Hi Tommy,

I tried with Get User endpoint and i got the account id, but when i am trying to use to account id to call this api /v2/accounts/{accountid}/users i am getting a failure message stating that account is not fount, can you please help me here.

Thanks,  
Kiran

---

<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:** [June 17, 2020, 6:19am UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/12 "2020-06-17T06:19:27Z")

</div>

Hey @kirankumar,

Can you please share the link to the endpoint you are trying to call?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kirankumar](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@kirankumar](https://devforum.zoom.us/u/kirankumar)\
**Post date:** [June 19, 2020, 5:52pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/13 "2020-06-19T17:52:03Z")

</div>

Hi Tommy, Thanks for the response actually i figured out the issue now i am able to get all the sub accounts.

Thanks in advance,  
Kiran

---

<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:** [June 19, 2020, 10:19pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/14 "2020-06-19T22:19:18Z")

</div>

Hey @kirankumar,

That is great! Happy to hear that! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![priyanka.thummala](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@priyanka.thummala](https://devforum.zoom.us/u/priyanka.thummala)\
**Post date:** [July 7, 2020, 6:48am UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/15 "2020-07-07T06:48:35Z")

</div>

Hi Kiran,

I have the similar issue. May I know the resolution for this issue.

Thanks,  
Priyanka.

---

<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 9, 2020, 5:40pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/16 "2020-07-09T17:40:47Z")

</div>

Hey @priyanka.thummala,

Can you be more specific? You can get your account\_id via the [Get User API.](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![priyanka.thummala](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@priyanka.thummala](https://devforum.zoom.us/u/priyanka.thummala)\
**Post date:** [July 9, 2020, 6:23pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/17 "2020-07-09T18:23:26Z")

</div>

We are using zoom API’s to build reports in Tableau for our metrics team.

We would need master account ID, so that we can use sub accounts & billing information, plan information pulled from respective APIs

FYI, I have already tried this.

**Got the account ID via Get User Endpoint.**

**But when I am trying to use the same account id to call this API /v2/accounts/{accountid}/users i am getting a failure message stating that “{‘code’: 2001, ‘message’: 'Account does not exist”.**

Thanks,

Priyanka.

---

<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 14, 2020, 6:22pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/18 "2020-07-14T18:22:59Z")

</div>

Hey @priyanka.thummala,

The `accountId` in the endpoint /v2/accounts/{accountId}/users is the sub account ID.

Are you on an [ISV plan](https://marketplace.zoom.us/docs/api-reference/master-account-apis/user-apis)?

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, 10:41pm UTC](https://devforum.zoom.us/t/where-to-find-the-account-id/7159/19 "2020-08-21T22:41:31Z")

</div>

Closed on August 21, 2020, 10:41pm UTC


