# Verify/check activation of a sub-account via api

**URL:** <https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151>\
**Category:** API and Webhooks\
**Created:** [March 8, 2021, 4:11pm UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151 "2021-03-08T16:11:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![steffen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steffen/32/24188_2.png) [@steffen](https://devforum.zoom.us/u/steffen)\
**Post date:** [March 8, 2021, 4:11pm UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/1 "2021-03-08T16:11:15Z")

</div>

**Description**  
We need a way to check if a sub-account master-user has activated his account. We don’t found an api-endpoint for that task.  
Is there a way to check this?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT  
[https://api.zoom.us/v2/accounts](https://api.zoom.us/v2/accounts)

**Which Endpoint/s?**

- List Sub Accounts ([https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts](https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts))
- Get a Sub Account
- Get Settings

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 8, 2021, 10:33pm UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/2 "2021-03-08T22:33:19Z")

</div>

Hey @steffen,

Thank you for reaching out to the Zoom Developer Forum. You can try using the `verified` property from the [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) when using the email of the Sub-Account owner:

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/e/9e5844b50f110c7c1272cfacce503848b60f827b.png)

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![steffen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steffen/32/24188_2.png) [@steffen](https://devforum.zoom.us/u/steffen)\
**Post date:** [March 9, 2021, 7:43am UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/3 "2021-03-09T07:43:25Z")

</div>

Hey @MaxM,

Thank you for the quick answer. Unfortunately, this don’t works.

I have try the mail-address, the user-ID. the sub-account-id and the sub-account owner-id. All of them have the same result in Postman. (I tried it with and without the login\_type).  
{  
“code”: 1001,  
“message”: “User does not exist: [example@something.de](mailto:example@something.de).”  
}

The test with my Account works like expected, but this account is not an sub-account.

When I check the Zoom Backend, the Account is activated and I can manage it. I even tried this test with an un-activated account with the same results.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/f/0f45a6c6d40328b601eb0bd3b627e3f86ad03195.png)

Is there a Param or Variable I miss in Postman?  
Kind regards,  
Steffen

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 9, 2021, 9:08pm UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/4 "2021-03-09T21:08:01Z")

</div>

Hey @steffen,

Thank you for providing additional information. First, I should correct myself. In order to check if a user is pending, you will see that when calling the [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user), only the `id` and `created_at` properties will be returned:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/9/398b2ece03f284819a6bddbb0f92d401cbeac8fa.png)

With that being said, you should at least be able to get that information from a pending user. When you’re making these API calls, make sure that you are either

1. Calling the [Master Account User API](https://marketplace.zoom.us/docs/api-reference/master-account-apis/user-apis) with the Master Account JWT credentials

or

1. Calling the account-level [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) with the JWT credentials of a Sub-Account.

Let me know if that helps. 🙂

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![steffen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steffen/32/24188_2.png) [@steffen](https://devforum.zoom.us/u/steffen)\
**Post date:** [March 9, 2021, 10:09pm UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/5 "2021-03-09T22:09:31Z")

</div>

Hi @MaxM,

thank you for the hint, I didn’t know the “Master Account User API” exists. With this the check is possible and works like expected.

Many thanks, you save me and my team a lot of clicking 🙂 !

Kind regards,  
Steffen

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 9, 2021, 10:14pm UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/6 "2021-03-09T22:14:25Z")

</div>

Hey @steffen,

I’m glad to hear that was helpful! As always, feel free to reach out if you encounter any further issues or questions.

Thanks,  
Max

---

<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:** [April 9, 2021, 8:14am UTC](https://devforum.zoom.us/t/verify-check-activation-of-a-sub-account-via-api/45151/7 "2021-04-09T08:14:40Z")

</div>

Closed on April 9, 2021, 8:14am UTC

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