# Couldn't get userId and user token

**URL:** <https://devforum.zoom.us/t/couldnt-get-userid-and-user-token/1168>\
**Category:** API and Webhooks\
**Created:** [April 11, 2018, 12:51pm UTC](https://devforum.zoom.us/t/couldnt-get-userid-and-user-token/1168 "2018-04-11T12:51:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noura\_Rizk](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@Noura\_Rizk](https://devforum.zoom.us/u/Noura_Rizk)\
**Post date:** [April 11, 2018, 12:51pm UTC](https://devforum.zoom.us/t/couldnt-get-userid-and-user-token/1168/1 "2018-04-11T12:51:16Z")

</div>

I don’t know where to get userId and user token

I tried&nbsp;using Rest api authentication but&nbsp;&nbsp;[REST API playground](https://zoom.us/developer/api/playground)&nbsp;doesn’t seem to be working,&nbsp;so&nbsp;I tried the following (don’t know if the url is right or not)

&nbsp;

[https://api.zoom.us/v2/user/getbyemail](https://api.zoom.us/v2/user/getbyemail)?

api\_key=Api\_key

&api\_secret=secret

&email=mail&login\_type=1

&nbsp;

with header&nbsp;Authorization Bearer access token

&nbsp;

I’m using postman and it always return&nbsp;

**xml error page not found**

&nbsp;

**I got access token from here&nbsp;[https://jwt.io/#libraries](https://jwt.io/#libraries)**

&nbsp;

&nbsp;

what I’m doing wrong,

Also, If i’m to use&nbsp;e-mail/password way, what if user was registered using google or Facebook, I can’t use his password then

thanks.

---

<div class="post-metadata">

**Author:** ![Kawamura\_Makoto](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Kawamura\_Makoto](https://devforum.zoom.us/u/Kawamura_Makoto)\
**Post date:** [April 25, 2018, 3:43am UTC](https://devforum.zoom.us/t/couldnt-get-userid-and-user-token/1168/2 "2018-04-25T03:43:08Z")

</div>

HI Noura,

It seems that “getbyemail” option can be used only in API version1.  
Seel the documentation for Zoom API v2.  
[https://zoom.github.io/api/](https://zoom.github.io/api/)

The most easiest way I think to use Zoom API v2 in POSTMAN is to import the Zoom API collection from GitHub.  
See the link below.

See Also:  
Using Zoom APIs Version 2 with Postman  
[https://developer.zoom.us/blog/using-zoom-apis-version-2-with-postman/](https://developer.zoom.us/blog/using-zoom-apis-version-2-with-postman/)

&nbsp;

Makoto
