# How to get the correct access token through a webhook metadata

**URL:** <https://devforum.zoom.us/t/how-to-get-the-correct-access-token-through-a-webhook-metadata/73140>\
**Category:** Cloud Recordings\
**Tags:** faq\
**Created:** [July 28, 2022, 8:58am UTC](https://devforum.zoom.us/t/how-to-get-the-correct-access-token-through-a-webhook-metadata/73140 "2022-07-28T08:58:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 28, 2022, 10:55am UTC](https://devforum.zoom.us/t/how-to-get-the-correct-access-token-through-a-webhook-metadata/73140/2 "2022-07-28T10:55:43Z")

</div>

Hi @escape813 ,

We do not officially support the process you’re attempting. Access tokens are not available via webhook by design, but here’s a way to retrieve them to match to account id during initial authorization:

> [@Distinguish between multiple Zoom accounts in an OAuth App](https://devforum.zoom.us/t/distinguish-between-multiple-zoom-accounts-in-an-oauth-app/6211/2):
>
> Hey @tsykul, thanks for posting, and building on the Zoom platform! slight_smile The best way to link OAuth to an account id is to save the access\_token, refresh\_token, and expires date you get from: POST [https://zoom.us/oauth/token?grant\_type=authorization\_code&redirect\_uri={your\_redirect\_uri}&code={authorization\_code}](https://zoom.us/oauth/token?grant_type=authorization_code&redirect_uri=%7Byour_redirect_uri%7D&code=%7Bauthorization_code%7D) (docs: [https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#request-access-token](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#request-access-token)) and [JWT decode/parse](https://jwt.io/) the access\_token to get the account id. Then s…

Hope this helps!

---

_[View the full topic](https://devforum.zoom.us/t/how-to-get-the-correct-access-token-through-a-webhook-metadata/73140)._
