# Reusing Salesforce App (V1)'s OAuth Authorization for manual API calls

**URL:** <https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315>\
**Category:** Meetings\
**Tags:** jwt, s2s-oauth\
**Created:** [January 5, 2024, 10:28pm UTC](https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315 "2024-01-05T22:28:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![roko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roko/32/55451_2.png) [@roko](https://devforum.zoom.us/u/roko)\
**Post date:** [January 5, 2024, 10:28pm UTC](https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315/1 "2024-01-05T22:28:23Z")

</div>

Hi all,

> **Introduction about upgrading from JWT auth to OAuth**
>
> We have just upgraded our Salesforce [Zoom app/package (V1)](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000000qEuqEAE) after JWT authentication getting deprecated.
> 
> Apart from the “standard” functionality of the app/package, we also have a few “manual” API calls in our Apex code (e.g. fetching registrants for a meeting via `/meetings/[meeting_id]/registrants` etc.).
> 
> For these API calls we used to authenticate by generating the JWT token from the fields `zoom_app __Zoom_API_Secret__ c` and `zoom_app __Zoom_API_Key__ c` which are stored in the Salesforce org as part of the app/package config.

Now that the app/package is authorized via OAuth, **is there a way to use that existing authorization in the “manual” API calls made from Apex**?

If not, what is the **recommended way to authorize these manual API calls**?

Many thanks!  
Roko

---

<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:** [January 6, 2024, 3:37am UTC](https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315/2 "2024-01-06T03:37:11Z")

</div>

Hi @roko ,

Can you please link the origin of the migration guidance?

Integrations are more the domain of [https://community.zoom.com/](https://community.zoom.com/) , but I will try to offer guidance as I can. You should search there as well for your answer 🙂

---

<div class="post-metadata">

**Author:** ![roko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roko/32/55451_2.png) [@roko](https://devforum.zoom.us/u/roko)\
**Post date:** [January 6, 2024, 2:23pm UTC](https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315/4 "2024-01-06T14:23:39Z")

</div>

Hi Gianni,

Thank you for replying!  
Here is the link to the knowledge article about migrating to OAuth: [Salesforce migration to OAuth - Zoom Support](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0058199)

That is only for the Salesforce app/package itself though.  
I suppose one option we have for those “manual” api calls that make in the code is to create a new Server-to-Server OAuth app in the marketplace, but I am wondering if that is the way to go or if there is a simpler option?

I have just searched through the topics at Zoom Community and haven’t found anything similar, so I created a [new one](https://community.zoom.com/t5/Meetings/Reusing-Salesforce-App-V1-s-OAuth-Authorization-for-manual-API/m-p/159804/highlight/true#M90400), but I noticed almost none of the salesforce topics had any replies at all unfortunately.

Thank you,  
Roko

---

<div class="post-metadata">

**Author:** ![roko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roko/32/55451_2.png) [@roko](https://devforum.zoom.us/u/roko)\
**Post date:** [January 8, 2024, 10:25am UTC](https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315/5 "2024-01-08T10:25:47Z")

</div>

Hi @gianni.zoom ,

Is paying $675 / $1650 / $2900 for “Premier Developer Support” **really** the only way to contact someone, anyone, at Zoom with knowledge on this matter?

I find it quite surprising and ridiculously inconvenient. I have tried all other possible channels so far and all have been nothing short of frustratingly futile.

---

<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:** [January 12, 2024, 9:49pm UTC](https://devforum.zoom.us/t/reusing-salesforce-app-v1-s-oauth-authorization-for-manual-api-calls/101315/6 "2024-01-12T21:49:48Z")

</div>

Hi @roko ,

I hear your frustrations! I can open a support ticket for you on your behalf.

I will start a private message. In that message please send all supportive info such as:

- api key
- developer email
- screenshots of error
- timeline of failure
- how to reproduce
