Zoom RTMS SDK - application types problem

Hi,

I have created Zoom General app which I use with autostart and Zoom RTMS SDK. The capture of meeting audio works OK.

I send audio to custom transcription service and after receiving transcription i would like to send transcriptions into zoom meeting as closed captions.

This part of sending transcriptions in meeting works with Server-To-Server OAuth type application, but in the case of General App with Zoom RTMS SDK I am not able to get access token with POST https://zoom.us/oauth/token (grant_type = account_credentials).

I need access token to get closed caption url (https://api.zoom.us/v2/meetings/{meetingId}/token?type=closed_caption_token) and then post closed captions.

Can you help me please?

Thanx,

Jani

Hi @Jani
Thanks for reaching out to us!
To generate an access token using your General App, you need to integrate OAuth.

First, you must manually authorize/install the app in your account to initiate the OAuth workflow. This will provide you with an authorization code, which you can then exchange for an access token.

To install your app to your Zoom account, navigate to the Local Test page, and choose Add App Now.

You can also construct and navigate to the authorization URL yourself, following this format:


https://zoom.us/oauth/authorize?response_type=code&client_id=ZOOM_CLIENT_ID&redirect_uri=ZOOM_REDIRECT_URI

Lastly, to request an access token, send a POST request to https://zoom.us/oauth/token with a basic authorization header.

Your request should look like this:

POST https://zoom.us/oauth/token?grant_type=authorization_code&code=Wk9PTV9BVVRIT1JJWkFUSU9OX0NPREU&redirect_uri=https://example.com

Here is the link to our Docs

Hope this helps!
Elisa

Thanx, it works as you described.