Getting an access token for testing Create Meeting

I am trying to test the Create Meeting API using the Test Request at the bottom of the page on https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate. I click the Get Access Token button to get an access token, I enter the client ID and client secret and leave the other fields as is on the modal that pops up, and then I click the Get Access Token button on the modal.

After I do that, I get the following response:


What am I missing? What am I doing wrong?

Hey @eugene,

Can you try adding https://zoom.us as your redirect url and whitelist url in your OAuth app and try again?

Thanks,
Tommy

@tommy,

Thank you for your help, that worked. Now that I have tested generating a create meeting request, how should I set the redirect and whitelist urls in my application, and how will I generate access tokens for my application to generate create meeting requests from my application?

1 Like

Hey @eugene,

You will provide the url of where you want your users to land after they install your application.

Here is the step by step OAuth guide:

https://marketplace.zoom.us/docs/guides/auth/oauth

Thanks,
Tommy

I tried the steps in the guide and I get “Invalid client_id: (4,702)” instead of an access token. What could I be missing?

Hey @eugene,

Are you passing in the authorization basic header?

https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token

Thanks,
Tommy

From everything I can see I am sending the Authorization header. Is there a specific way I should be sending it? I am encoding the clientID and client secret with a colon in between them and it is Base64 encoded as specified. I have tried both ASCII and UTF-8 encodings.

Hey @eugene,

Can you private message me your basic header so I can debug?

Thanks,
Tommy

Tommy,

I think I figured it out - I wasn’t using the correct HTTP verb/method. I had to specify the method as “POST” (I think it may have been “GET” by default).

1 Like

Happy to hear you figured it out! :slight_smile:

Yes, it is a POST request to get an access token.

Thanks,
Tommy