# How to get zoom user ID

**URL:** <https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966>\
**Category:** Android\
**Created:** [December 22, 2020, 8:09am UTC](https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966 "2020-12-22T08:09:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mubashshir.shaikh](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mubashshir.shaikh](https://devforum.zoom.us/u/mubashshir.shaikh)\
**Post date:** [December 22, 2020, 8:09am UTC](https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966/1 "2020-12-22T08:09:37Z")

</div>

Hi Zoom team,  
I am trying to get zoom user ID via rest api but i am getting this error.

Request : [https://api.zoom.us/v2/users/mubashshir.shaikh@jackys.com](https://api.zoom.us/v2/users/mubashshir.shaikh@jackys.com)

Error :  
{

```
"code": 124,

"message": "Invalid access token."

```

}

Your urgent help is required.

Kind regards,  
Mubashshir

---

<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:** [December 23, 2020, 6:45pm UTC](https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966/2 "2020-12-23T18:45:45Z")

</div>

Hey @mubashshir.shaikh,

Thank you for reaching out to the Zoom Developer Forum. This error typically happens when the authentication for a request is failing. What authentication method are you using and how are you generating the token? Please make sure that you are following the steps in either our [JWT](https://marketplace.zoom.us/docs/guides/auth/jwt) or [OAuth](https://marketplace.zoom.us/docs/guides/auth/oauth) guides to authenticate with the API.

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

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![mubashshir.shaikh](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mubashshir.shaikh](https://devforum.zoom.us/u/mubashshir.shaikh)\
**Post date:** [December 24, 2020, 10:34am UTC](https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966/3 "2020-12-24T10:34:12Z")

</div>

Hi MaxM,

Thanks for your reply.

I am trying to use to zoom android sdk for non-loign users.

I need 2 informations to run that app but i am getting issues in getting informations listed below.

1. USER\_ID

2. ZOOM\_ACCESS\_TOKEN

Can you guide me how to obtain these info?

Kind regards,  
Mubashshir

---

<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:** [December 28, 2020, 7:47pm UTC](https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966/4 "2020-12-28T19:47:19Z")

</div>

Hey @mubashshir.shaikh,

Thank you for providing additional information. This issue seems like it would be a better fit for our #client-mobile-sdk category but I’ll work to assist you as best as I can before moving this post to that category.

When it comes to obtaining the USER\_ID and the ZOOM\_ACCESS\_TOKEN, we have information in [this document](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/start-join-meeting/api-user/authentication) covering how that can be done. I’ve included a snapshot below:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/c/7c292839830115e49f46fa2de6f84c1f661138b2.png)

I hope that helps!

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:** [January 28, 2021, 5:47am UTC](https://devforum.zoom.us/t/how-to-get-zoom-user-id/38966/5 "2021-01-28T05:47:28Z")

</div>

Closed on January 28, 2021, 5:47am UTC

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