# "User X does not exist or not belong to this account" in Zoom API Test Widget

**URL:** <https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552>\
**Category:** API and Webhooks\
**Created:** [January 16, 2020, 9:52pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552 "2020-01-16T21:52:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyrum](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hyrum/32/2925_2.png) [@hyrum](https://devforum.zoom.us/u/hyrum)\
**Post date:** [January 16, 2020, 9:52pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/1 "2020-01-16T21:52:57Z")

</div>

**Description**  
I am new to the Zoom API. I need to use it on my company’s website. Our employees need to be trained and once it’s complete, they will be issued a Zoom license. We will have processes that will kick off the necessary calls to the Zoom API to create these new users and to add them to a group on the Zoom Account. I’m trying out the API’s to see which endpoints we need exactly with the Test Widget that can be found at each endpoint in the API docs. I am getting errors mostly because I could very well be entering in the wrong data (userId, groupId) and/or it could be something else.

I have created an Oauth app so that I can use the ClientID and Secret to obtain a token to use on the Test Widgets.

**Error**  
The full error message or issue you are running into.

{  
“code”: 1001,  
“message”: “User XXX-XXX-XXXX not exist or not belong to this account.”  
}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**No app just yet.**

**Which Endpoint/s?**  
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

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

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<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 16, 2020, 10:42pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/2 "2020-01-16T22:42:54Z")

</div>

Hey @hyrum, thanks for posting and using Zoom!

What userId or email are you passing in for the [GET users endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![hyrum](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hyrum/32/2925_2.png) [@hyrum](https://devforum.zoom.us/u/hyrum)\
**Post date:** [January 16, 2020, 11:30pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/3 "2020-01-16T23:30:31Z")

</div>

Thank you for responding @tommy!  
I am using the Personal Meeting ID found in your profile page. That’s the closest thing that I could find that could resemble a userId.

---

<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 17, 2020, 5:24pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/4 "2020-01-17T17:24:16Z")

</div>

Hey @hyrum,

The meeting number is not a user ID.

There are a few ways to get a User ID:

1. [JWT decoding an access\_token](https://jwt.io).

2. Call the [Get Users endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users).

3. Pass in the word `me` as the [{userID}](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)

4. Pass in the users email as the [{userID}](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![hyrum](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hyrum/32/2925_2.png) [@hyrum](https://devforum.zoom.us/u/hyrum)\
**Post date:** [January 17, 2020, 6:18pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/5 "2020-01-17T18:18:23Z")

</div>

Awesome! Thanks, @tommy!

As for my use case, will JWT work best?

---

<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 17, 2020, 6:20pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/6 "2020-01-17T18:20:34Z")

</div>

Happy to help @hyrum!

It depends on what your trying to do, but JWT is the easiest / fastest way to start calling our APIs! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![hyrum](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hyrum/32/2925_2.png) [@hyrum](https://devforum.zoom.us/u/hyrum)\
**Post date:** [January 17, 2020, 6:28pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/7 "2020-01-17T18:28:14Z")

</div>

I explained it in my description but it is easily lost.

Basically we have an on-boarding process which includes issuing licenses and adding them to a Group on the Zoom Account. Right now all, these steps are done manually with upwards of 50+ people at any given. We want to automate this process by hitting your API’s.

---

<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 17, 2020, 6:40pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/8 "2020-01-17T18:40:15Z")

</div>

Hey @hyrum,

If this application will only be internal, use [JWT](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app).

If you intend to share this application with other companies or Zoom users, use [OAuth](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app).

It sounds like this will only internal so use [JWT](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app)! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![hyrum](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hyrum/32/2925_2.png) [@hyrum](https://devforum.zoom.us/u/hyrum)\
**Post date:** [January 17, 2020, 6:46pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/9 "2020-01-17T18:46:08Z")

</div>

Thank you so much for your help @tommy!

Thanks,  
Hyrum

---

<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 17, 2020, 6:48pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/10 "2020-01-17T18:48:37Z")

</div>

You are welcome!

Let us know if you have additional questions! 🙂

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, 7:12pm UTC](https://devforum.zoom.us/t/user-x-does-not-exist-or-not-belong-to-this-account-in-zoom-api-test-widget/7552/11 "2020-08-21T19:12:09Z")

</div>

Closed on August 21, 2020, 7:12pm UTC


