# Getting Zoom userId from access token

**URL:** <https://devforum.zoom.us/t/getting-zoom-userid-from-access-token/25064>\
**Category:** API and Webhooks\
**Created:** [July 24, 2020, 8:51am UTC](https://devforum.zoom.us/t/getting-zoom-userid-from-access-token/25064 "2020-07-24T08:51:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![a.sinnige](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@a.sinnige](https://devforum.zoom.us/u/a.sinnige)\
**Post date:** [July 27, 2020, 12:37pm UTC](https://devforum.zoom.us/t/getting-zoom-userid-from-access-token/25064/4 "2020-07-27T12:37:26Z")

</div>

Yeah, I got bitten with that one too… Wrote a post on it. Nobody from zoom replied though. On why they changed the names…

> [@Code change , why?](https://devforum.zoom.us/t/code-change-why/24909):
>
> Which App Type (OAuth / Chatbot / JWT / Webhook)? Oauth (+JWT) I’ve been running a video editor for my users for the last 3 months or so. Was code complete. Somewhere last week something changed that broke my site/app. This is the code I was running in PHP : function get\_access\_token\_and\_user\_id($oauth\_token,$website\_redirect,$Client\_id,$Client\_secret,&$user\_id,&$access\_token){ $url = ‘[https://zoom.us/oauth/token?grant\_type=authorization\_code&code=](https://zoom.us/oauth/token?grant_type=authorization_code&code=)’ . $oauth\_token . ‘&redirect\_uri=’ . $web…

---

_[View the full topic](https://devforum.zoom.us/t/getting-zoom-userid-from-access-token/25064)._
