# Zoom Get API using PHP curl causing issues with hyphen in userid

**URL:** <https://devforum.zoom.us/t/zoom-get-api-using-php-curl-causing-issues-with-hyphen-in-userid/26280>\
**Category:** API and Webhooks\
**Created:** [August 5, 2020, 3:22am UTC](https://devforum.zoom.us/t/zoom-get-api-using-php-curl-causing-issues-with-hyphen-in-userid/26280 "2020-08-05T03:22:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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, 9:06pm UTC](https://devforum.zoom.us/t/zoom-get-api-using-php-curl-causing-issues-with-hyphen-in-userid/26280/2 "2020-08-05T21:06:53Z")

</div>

Hey @Harshit_Sharaff,

I have replied to you here:

> [@Https://api.zoom.us/v2/users/{userid}/token not returning token](https://devforum.zoom.us/t/https-api-zoom-us-v2-users-userid-token-not-returning-token/19826/6):
>
> 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

Let me know if that answered your question! 🙂

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/zoom-get-api-using-php-curl-causing-issues-with-hyphen-in-userid/26280)._
