# Getting status 403 when trying to get oAuth access token

**URL:** <https://devforum.zoom.us/t/getting-status-403-when-trying-to-get-oauth-access-token/30818>\
**Category:** API and Webhooks\
**Created:** [September 21, 2020, 1:43am UTC](https://devforum.zoom.us/t/getting-status-403-when-trying-to-get-oauth-access-token/30818 "2020-09-21T01:43:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [September 21, 2020, 1:44am UTC](https://devforum.zoom.us/t/getting-status-403-when-trying-to-get-oauth-access-token/30818/2 "2020-09-21T01:44:15Z")

</div>

Hey @po123

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout this related thread that may have the answer you are looking for:

> [@Getting 403 on call OAuth token API](https://devforum.zoom.us/t/-/9291):
>
> Description url call: [https://zoom.us/oauth/token?grant\_type=authorization\_code&code=6VzfR5yS8m\_H7AYDkARTqaVcKnotkSONA&redirect\_uri=https://localhost:44399/](https://zoom.us/oauth/token?grant_type=authorization_code&code=6VzfR5yS8m_H7AYDkARTqaVcKnotkSONA&redirect_uri=https://localhost:44399/) var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(client\_id + “:” + client\_secret); Client.DefaultRequestHeaders.Add(“Authorization”, "Basic " + Convert.ToBase64String(plainTextBytes)); HttpResponseMessage response = await Client.PostAsync(url, null); but response.StatusCode = Forbidden 403 @tommy could you help me? @Michael_Pu…

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

_[View the full topic](https://devforum.zoom.us/t/getting-status-403-when-trying-to-get-oauth-access-token/30818)._
