# Find out whether a account is a regular account or master/sub-account through API

**URL:** <https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458>\
**Category:** API and Webhooks\
**Created:** [February 16, 2021, 11:51am UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458 "2021-02-16T11:51:32Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![akankshkn91](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@akankshkn91](https://devforum.zoom.us/u/akankshkn91)\
**Post date:** [February 16, 2021, 11:51am UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/1 "2021-02-16T11:51:33Z")

</div>

**Description**  
I am trying to check whether an account is a regular account or a master/sub-account from the API. My use case requires me to have different flows based on the type of account (I would need to get details of the sub-account if present).

Is there an endpoint with a flag that indicates the type of account?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 17, 2021, 5:55pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/2 "2021-02-17T17:55:46Z")

</div>

Hi @akankshkn91,

Good question.

While we don’t have an endpoint to query what type of account a standard account is, you can query sub accounts using the List Sub Accounts endpoint and this returns an account\_type field for each sub account.

> **[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.
> Only Master Accounts can create and have Sub Accounts. Zoom only assigns this privilege to trusted p...

You can also leverage our Account Created webhook for sub accounts to know when they’re created, which may be of use to your workflow.

On a more basic level, you can also verify account types in the UI once logged in, from this page:

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://zoom.us/signin)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

Let me know if this helps!  
Will

---

<div class="post-metadata">

**Author:** ![akankshkn91](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@akankshkn91](https://devforum.zoom.us/u/akankshkn91)\
**Post date:** [February 18, 2021, 11:35am UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/3 "2021-02-18T11:35:53Z")

</div>

Thank you for the response, @will.zoom .

> [@will.zoom](#):
>
> While we don’t have an endpoint to query what type of account a standard account is, you can query sub accounts using the List Sub Accounts endpoint and this returns an account\_type field for each sub account.

This would help me to get the account\_type for subaccount, if present. However, if it a regular account, with no sub-accounts present, I would not be able to access this endpoint, right?

I was checking to see if there is any way from the API to know this, before I hit a sub-account API and get an error message.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 18, 2021, 5:01pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/4 "2021-02-18T17:01:56Z")

</div>

Hi @akankshkn91,

That’s correct, this endpoint is for sub accounts. We don’t currently have an endpoint specifically for listing details of a standard account, though this is a great suggestion. If you’re so inclined, I might recommend submitting a feature request for this here: #feature-requests

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![akankshkn91](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@akankshkn91](https://devforum.zoom.us/u/akankshkn91)\
**Post date:** [February 19, 2021, 1:28pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/5 "2021-02-19T13:28:42Z")

</div>

Thanks @will.zoom. I have submitted a feature-request for this.

Is it possible for a master account to not have any sub-accounts under it?  
I was looking at a workaround for knowing the type(regular or master/sub-account) of account, by looking at the accountID for all the users. If the accountID’s are same for all the users then it would be a regular account, and if it is different then it would to be a master/sub-account.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 19, 2021, 3:19pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/6 "2021-02-19T15:19:32Z")

</div>

Hi @akankshkn91,

Good question. There are circumstances where a master account may not have a sub account under it. You may find the this [account structure overview](https://medium.com/zoom-developer-blog/a-brief-look-at-zoom-account-structures-1d19c745bf8a) helpful for understanding the architecture.

If you use the Users endpoints for determining accounts, this could be a good way to determine which account they belong to if you’re keeping track of which account IDs correspond to which account type on your end.

Let me know if this helps,  
Will

---

<div class="post-metadata">

**Author:** ![akankshkn91](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@akankshkn91](https://devforum.zoom.us/u/akankshkn91)\
**Post date:** [February 24, 2021, 6:40am UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/7 "2021-02-24T06:40:51Z")

</div>

Hi @will.zoom ,

Thanks for the response.

I have requested this in the #feature-requests. Do you have a rough timeline on when this would be picked up or usually how long the feature requested takes to be implemented. I did not get any response to my request, so was just curious about this.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 24, 2021, 3:14pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/8 "2021-02-24T15:14:05Z")

</div>

Hi @akankshkn91,

While our team strives to review these and implement feature requests where we can, we do not have a timeline for these requests, nor can we guarantee they’ll be implemented. The best way to see which features make it in to upcoming releases is to subscribe to our [Changelog](https://marketplace.zoom.us/docs/changelog).

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![akankshkn91](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@akankshkn91](https://devforum.zoom.us/u/akankshkn91)\
**Post date:** [February 26, 2021, 6:11am UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/9 "2021-02-26T06:11:43Z")

</div>

Thank you so much for the clarifications @will.zoom . Much appreciated.

I want to test few of my use cases in a master/sub-account. Does Zoom provide a sandbox account with the master/sub-account setup, so that I can validate the endpoints and features, before deploying it?

Thanks in advance !

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 26, 2021, 12:52pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/10 "2021-02-26T12:52:17Z")

</div>

Hey @akankshkn91,

Glad this helped! In regards to a sandbox environment, I’m afraid this is not something we currently offer, though I understand why it’s important to have such an environment. This is on our roadmap, and we hope to offer sandbox/developer environments soon.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![akankshkn91](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@akankshkn91](https://devforum.zoom.us/u/akankshkn91)\
**Post date:** [February 26, 2021, 1:38pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/11 "2021-02-26T13:38:00Z")

</div>

Yeah, that would be really helpful, especially to test out use cases around the master/sub-accounts.

I am planning to get an account with a couple of licenses, and request for a master/sub-account, so that I can test my use case before deploying it. What would be the steps/process to request a master account? I could not find any documentation around this, so any information in this regard would be appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 26, 2021, 5:02pm UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/12 "2021-02-26T17:02:55Z")

</div>

Hey @akankshkn91,

Good question—to request a Master account, you will need to submit a request via email to [partner-success@zoom.us](mailto:partner-success@zoom.us). They’ll be able to get you set up.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 29, 2021, 3:03am UTC](https://devforum.zoom.us/t/find-out-whether-a-account-is-a-regular-account-or-master-sub-account-through-api/43458/13 "2021-03-29T03:03:17Z")

</div>

Closed on March 29, 2021, 3:03am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
