# Zoom API -- OAUth

**URL:** <https://devforum.zoom.us/t/zoom-api-oauth/24634>\
**Category:** API and Webhooks\
**Created:** [July 20, 2020, 2:21pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634 "2020-07-20T14:21:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawn\_jstreet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shawn_jstreet/32/44373_2.png) [@shawn\_jstreet](https://devforum.zoom.us/u/shawn_jstreet)\
**Post date:** [July 20, 2020, 2:21pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/1 "2020-07-20T14:21:34Z")

</div>

@tommy me again! It appears our developer (@rnemani) is having some issues using the OAuth. We are using the OAuth for our sandbox because we are using the JWT for production.

happen to know the responses to these questions:

1. I am facing the issue when authenticating with zoom.  
I am using the below params in order to authenticate. But I am getting 302 status code.

> response\_type=code  
> client\_id=OnGr53WjSBm6M9zK8UMtTA  
> redirect\_uri=[https://www.jstreet.org/](https://www.jstreet.org/)

> Regarding fetching the user answers from a webinar,  
> The [link](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantsquestionsget) you provided will provide us the questions on the webinar form. It doesn’t provide us the answers.
> 
> Is this the correct API to bring in the necessary details - [https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants)

1. Final question - If we get OAuth to work, this will allow the live data to continue flowing in production Salesforce using JWT and OAuth in production? We are wanting to test our configurations in Sandbox before making live in production.

We are hoping to get this solved this week. Thanks again for your help.

Many thanks  
Shawn

---

<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:** [July 23, 2020, 12:19am UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/2 "2020-07-23T00:19:53Z")

</div>

Hey @shawn_jstreet,

Can @rnemani post here so I can work directly with them on the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rnemani](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rnemani](https://devforum.zoom.us/u/rnemani)\
**Post date:** [July 23, 2020, 7:22pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/3 "2020-07-23T19:22:46Z")

</div>

Hi @tommy  
I am trying to make a callout from salesforce to zoom to get the answers provided by users when registering for webinars. My idea is to get the auth token and then make 2nd call to get the user responses.

I made an HTTP callout to authenticate with zoom by making a callout (GET) to the following endpoint  
[https://zoom.us/oauth/authorize?response\_type=code&client\_id=](https://zoom.us/oauth/authorize?response_type=code&client_id=)\<my\_client\_id\>&redirect\_uri=https://www.jstreet.org/

I was expecting an auth token to be received, but I got HttpResponse[Status=null, StatusCode=302]

Let me know if you need more info.

@shawn_jstreet

---

<div class="post-metadata">

**Author:** ![cto3po](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cto3po/32/2854_2.png) [@cto3po](https://devforum.zoom.us/u/cto3po)\
**Post date:** [July 24, 2020, 3:08pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/4 "2020-07-24T15:08:11Z")

</div>

@tommy we have the same issue. Please let us know how we can test this flow of creating meeting using Oauth flow until our app is approved by Zoom store. As currently we have this screen [https://w3tls.net/5eVuuN46bd184204a9d7bc89207b60833af120.png](https://w3tls.net/5eVuuN46bd184204a9d7bc89207b60833af120.png)

---

<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:** [July 28, 2020, 10:36pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/5 "2020-07-28T22:36:11Z")

</div>

Hey @rnemani,

You need to direct the user to that url in a browser, not make a GET request to it.

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

Thanks,  
Tommy

---

<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:** [July 28, 2020, 10:37pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/6 "2020-07-28T22:37:06Z")

</div>

Hey @cto3po,

Only users on your own Zoom account can install the up until it is published on the Marketplace.

If you want a private test beta URL, you can see this guide:

> **[Sharing Private Apps - Publishing an App - Documentation](https://marketplace.zoom.us/docs/guides/publishing/sharing-private-apps)**
>
> Sharing Private Apps
> 
> On the Zoom Marketplace, OAuth & Chatbot apps are installed by users with a Publishable URL (your install link). To distribute pri...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rnemani](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rnemani](https://devforum.zoom.us/u/rnemani)\
**Post date:** [July 30, 2020, 1:44pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/7 "2020-07-30T13:44:50Z")

</div>

Hi @tommy

Is there any way we can do the authorization from code and get the necessary data from Zoom into Salesforce?

To give you background on our problem:  
Whenever a person signs up for a webinar, the user data is getting synced into salesforce. - This logic is in place. Zoom is pushing the information into salesforce.  
However, the information doesn’t contain the custom field values entered by the user when signing up for the webinar. Only the standard fields like name, email are being synced into salesforce.  
I am trying to bring all the information (both standard and custom fields) entered by the user while signing up for a webinar into salesforce.

What would you suggest is the best way to achieve this?

@shawn_jstreet

---

<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 3, 2020, 9:30pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/8 "2020-08-03T21:30:11Z")

</div>

Hey @rnemani,

If the meetings are always hosted by your account, you can use your [JWT Token](https://marketplace.zoom.us/docs/guides/auth/jwt) to call the [List Registrants API](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants).

Or you could use our [Webinar Registration Created Webhook.](https://marketplace.zoom.us/docs/api-reference/webhook-reference/webinar-events/webinar-registration-created)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shawn\_jstreet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shawn_jstreet/32/44373_2.png) [@shawn\_jstreet](https://devforum.zoom.us/u/shawn_jstreet)\
**Post date:** [August 11, 2020, 5:29pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/9 "2020-08-11T17:29:55Z")

</div>

@tommy

This did not work. Thank you for our help. We are just closing out this this particular project as we are not able to directly send this data into Salesforce. I’ll allow @rnemani explain if he has a moment, we are past deadline and just going to consider this a wash.

Much gratitude.  
Shawn

---

<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 11, 2020, 8:24pm UTC](https://devforum.zoom.us/t/zoom-api-oauth/24634/10 "2020-08-11T20:24:26Z")

</div>

Hey @shawn_jstreet,

Sorry to hear that. Please let me know if I can help with anything in the future. 🙂

Thanks,  
Tommy
