# How to use Master Account APIs?

**URL:** <https://devforum.zoom.us/t/how-to-use-master-account-apis/3716>\
**Category:** API and Webhooks\
**Created:** [March 25, 2019, 3:48am UTC](https://devforum.zoom.us/t/how-to-use-master-account-apis/3716 "2019-03-25T03:48:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericchan](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@ericchan](https://devforum.zoom.us/u/ericchan)\
**Post date:** [March 25, 2019, 3:48am UTC](https://devforum.zoom.us/t/how-to-use-master-account-apis/3716/1 "2019-03-25T03:48:57Z")

</div>

Recently, i would like to use the master API.

[https://marketplace.zoom.us/docs/api-reference/master-account-apis/user-apis](https://marketplace.zoom.us/docs/api-reference/master-account-apis/user-apis)

Zoom API Version 2 provides a set of Master Account APIs. These APIs allow a Master Account to manage Sub Accounts utilizing the Master Account’s API Key/Secret. Previously you would have to know the Sub Account’s API Key/Secret to mange it’s users and meetings. The endpoints mirror the standard Zoom API, pre-pended with /accounts/{accountID}

Where can I find the {{accountID}}?  
How to pass the API Key and Secret? Header or anywhere?

---

<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:** [March 25, 2019, 9:08pm UTC](https://devforum.zoom.us/t/how-to-use-master-account-apis/3716/2 "2019-03-25T21:08:42Z")

</div>

Hi @ericchan,

You can get the account ID for a user using the retrieve a user API[1].

[1] - [https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)

---

<div class="post-metadata">

**Author:** ![ericchan](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@ericchan](https://devforum.zoom.us/u/ericchan)\
**Post date:** [March 26, 2019, 6:01am UTC](https://devforum.zoom.us/t/how-to-use-master-account-apis/3716/3 "2019-03-26T06:01:58Z")

</div>

Hi @michael_p.zoom,

I have some further questions

Account ID is fixed for created user?

When i use master API, how to pass API key and secret, should i use it to generate JWT token?

Thanks

---

<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:** [March 27, 2019, 3:44pm UTC](https://devforum.zoom.us/t/how-to-use-master-account-apis/3716/4 "2019-03-27T15:44:11Z")

</div>

Hi @ericchan,

Yes the account id is fixed for created user. Yes, you can generate JWT token and use it with the Master API.

> **[Generating a JWT - JSON Web Tokens (JWT) - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/authorization/jwt/generating-jwt)**
>
> Generating a JSON Web Token
> 
> 
> 
> Below are examples of how to obtain your API Key/Secret and the minimum properties needed generate your API Key/Secret fo...

---

<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, 6:14pm UTC](https://devforum.zoom.us/t/how-to-use-master-account-apis/3716/5 "2020-08-21T18:14:11Z")

</div>

Closed on August 21, 2020, 6:14pm UTC


