# How do i know my accountid and all usersids?

**URL:** <https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613>\
**Category:** API and Webhooks\
**Created:** [November 11, 2019, 4:00pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613 "2019-11-11T16:00:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://devforum.zoom.us/u/scott)\
**Post date:** [November 11, 2019, 4:00pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/1 "2019-11-11T16:00:40Z")

</div>

Hi-

Just getting started. I would like to have a master account authenticated by JWT which will create meetings for users.

1. How do I know which is the master accountId?
2. How do I get a list of users which can be controlled by the accountId?
3. When I use the endpoint, which fields are optional?

Endpoint: POST /v2/accounts/{accountId}/users/{userId}/meetings

And… is this the best way to get support?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [November 11, 2019, 6:56pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/2 "2019-11-11T18:56:59Z")

</div>

Hi @scott,

> [@scott](#):
>
> - How do I know which is the master accountId?

To find your master account ID, you can use [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

> [@scott](#):
>
> - How do I get a list of users which can be controlled by the accountId?

You can use the same API - [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

> [@scott](#):
>
> 1. When I use the endpoint, which fields are optional?

The Master account APIs mirror standard APIs, therefore the same properties would be available.

> [@scott](#):
>
> And… is this the best way to get support?

If it’s developer related yes, the forum is the best way, otherwise you can submit a ticket to our support team.

Thanks

---

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://devforum.zoom.us/u/scott)\
**Post date:** [November 11, 2019, 9:37pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/3 "2019-11-11T21:37:22Z")

</div>

How can I test these online with a JWT token? When I try, it asks for an OAuth token.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [November 11, 2019, 10:00pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/4 "2019-11-11T22:00:26Z")

</div>

Hi @scott,

You should be able to test both standard and Master account APIs with ah JWT token. You can refer to our JWT docs on how to test online with a JWT token[1].

1 - [https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom)

---

<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 11, 2019, 10:10pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/5 "2019-11-11T22:10:09Z")

</div>

Hey @scott,

What error message are you getting?

You can test the GET /users API via the “Send a Test Request” feature on our docs. Just add your JWT Token as the oauth\_access\_token:

 ![11%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7e9ff97a74dff07a123957238fbccfdf1490f44d.png)

Then click send!

-Tommy

---

<div class="post-metadata">

**Author:** ![david\_s](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@david\_s](https://devforum.zoom.us/u/david_s)\
**Post date:** [July 2, 2020, 11:33am UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/6 "2020-07-02T11:33:53Z")

</div>

Waiking up an old issue…  
I have managed to receive data from [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)  
In the received json, what is the master account\_id key?

---

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://devforum.zoom.us/u/scott)\
**Post date:** [July 2, 2020, 6:25pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/7 "2020-07-02T18:25:14Z")

</div>

it seems to be working. I don’t know what the problem was or why it seems to have gone away. I’ll open a new ticket when it resurfaces.

Confidentiality & Non-Disclosure Warning: This message is intended for the exclusive use of the person or entity to which it is addressed. It may contain information that is confidential / privileged, and must be treated as such. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or making a decision in reliance of its content is strictly prohibited. If you have received this message by error, please, destroy the message and kindly notify us immediately. Inappropriate/unauthorized use of the information shall be dealt with the applicable confidentiality and non-disclosure laws.

---

<div class="post-metadata">

**Author:** ![david\_s](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@david\_s](https://devforum.zoom.us/u/david_s)\
**Post date:** [July 5, 2020, 5:13am UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/8 "2020-07-05T05:13:38Z")

</div>

Hi, the query works, according to what is written in the previous answers above,  
In the received JSON, what is the master account\_id key

---

<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 7, 2020, 11:22pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/9 "2020-07-07T23:22:05Z")

</div>

Hey @scott,

Happy to hear it is working! 🙂

Thanks,  
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:** [July 7, 2020, 11:23pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/10 "2020-07-07T23:23:49Z")

</div>

Hey @david_s,

The account\_id is account\_id for the sub account.

What is your use case for needing the account\_id for the master account?

> **[Zoom Developer Platform — Account Paradigm](https://medium.com/@thiya/zoom-developer-platform-account-paradigm-f6d1184d6401)**
>
> We have recently launched our developer platform (https://zoom.us/developer) with a comprehensive list of APIs and cross platform native…

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:36pm UTC](https://devforum.zoom.us/t/how-do-i-know-my-accountid-and-all-usersids/6613/11 "2020-08-21T22:36:14Z")

</div>

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


