# Https://api.zoom.us/v2/users/{userid}/token not returning token

**URL:** <https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826>\
**Category:** API and Webhooks\
**Created:** [June 1, 2020, 4:31pm UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826 "2020-06-01T16:31:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiran\_Juikar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kiran_juikar/32/1629_2.png) [@Kiran\_Juikar](https://devforum.zoom.us/u/Kiran_Juikar)\
**Post date:** [June 1, 2020, 4:31pm UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/1 "2020-06-01T16:31:19Z")

</div>

**Description**  
[https://api.zoom.us/v2/users/{userid}/token](https://api.zoom.us/v2/users/%7Buserid%7D/token) not returning token.

**Error**  
It returns empty object

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
API  
**Which Endpoint/s?**  
[https://api.zoom.us/v2/users/{userid}/token](https://api.zoom.us/v2/users/%7Buserid%7D/token) not returning token.

**How To Reproduce (If applicable)**  
GET method [https://api.zoom.us/v2/users/{userid}/token](https://api.zoom.us/v2/users/%7Buserid%7D/token) not returning token.

**Additional context**  
It is working for some users & for some users it is returning empty object

Note that these users are logged in using email & password (not with google or facebook)

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 2, 2020, 4:36am UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/2 "2020-06-02T04:36:10Z")

</div>

Hi @Kiran_Juikar is there any consistency to the User Type which you can share? Please email [developersupport@zoom.us](mailto:developersupport@zoom.us) with specific userIds so we can check 🙂

---

<div class="post-metadata">

**Author:** ![Kiran\_Juikar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kiran_juikar/32/1629_2.png) [@Kiran\_Juikar](https://devforum.zoom.us/u/Kiran_Juikar)\
**Post date:** [June 2, 2020, 2:39pm UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/3 "2020-06-02T14:39:23Z")

</div>

shared details at [developersupport@zoom.us](mailto:developersupport@zoom.us)

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 5, 2020, 5:55pm UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/4 "2020-06-05T17:55:21Z")

</div>

@Kiran_Juikar Great thanks!

---

<div class="post-metadata">

**Author:** ![Harshit\_Sharaff](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@Harshit\_Sharaff](https://devforum.zoom.us/u/Harshit_Sharaff)\
**Post date:** [August 5, 2020, 3:19am UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/5 "2020-08-05T03:19:27Z")

</div>

@Kiran_Juikar is there a hyphen(-) in the user id. I am also facing the same error with user id’s having hyphen(-). Other seem to be working fine.

---

<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:** [August 5, 2020, 8:26pm UTC](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/6 "2020-08-05T20:26:01Z")

</div>

Hey @Harshit_Sharaff,

Make sure the user has logged in with email to Zoom. If they have just used Google login for example, it will return an empty object.

Thanks,  
Tommy
