# Getting an access token for testing Create Meeting

**URL:** <https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244>\
**Category:** API and Webhooks\
**Created:** [March 30, 2020, 10:35pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244 "2020-03-30T22:35:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugene](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@eugene](https://devforum.zoom.us/u/eugene)\
**Post date:** [March 30, 2020, 10:35pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/1 "2020-03-30T22:35:12Z")

</div>

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](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:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/48b748d56ec5819b1a0ffe4259a6ce1c0ea94c77.png)  
What am I missing? What am I doing wrong?

---

<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:** [March 31, 2020, 6:24am UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/2 "2020-03-31T06:24:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eugene](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@eugene](https://devforum.zoom.us/u/eugene)\
**Post date:** [March 31, 2020, 10:24pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/3 "2020-03-31T22:24:52Z")

</div>

@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?

---

<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:** [April 1, 2020, 7:04am UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/4 "2020-04-01T07:04:21Z")

</div>

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](https://marketplace.zoom.us/docs/guides/auth/oauth)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![eugene](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@eugene](https://devforum.zoom.us/u/eugene)\
**Post date:** [April 22, 2020, 10:37pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/5 "2020-04-22T22:37:33Z")

</div>

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?

---

<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:** [April 23, 2020, 5:45pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/6 "2020-04-23T17:45:10Z")

</div>

Hey @eugene,

Are you passing in the authorization basic header?

 ![Screen Shot 2020-04-23 at 11.44.57 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/2f3d9e0e8276a13e90bd8dd86139da2a67408395.png)

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

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![eugene](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@eugene](https://devforum.zoom.us/u/eugene)\
**Post date:** [April 23, 2020, 7:14pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/7 "2020-04-23T19:14:31Z")

</div>

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.

---

<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:** [April 25, 2020, 12:43am UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/8 "2020-04-25T00:43:41Z")

</div>

Hey @eugene,

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

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![eugene](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@eugene](https://devforum.zoom.us/u/eugene)\
**Post date:** [April 29, 2020, 7:39pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/9 "2020-04-29T19:39:36Z")

</div>

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).

---

<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:** [April 29, 2020, 9:30pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/10 "2020-04-29T21:30:40Z")

</div>

Happy to hear you figured it out! 🙂

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

Thanks,  
Tommy

---

<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:** [August 21, 2020, 8:58pm UTC](https://devforum.zoom.us/t/getting-an-access-token-for-testing-create-meeting/10244/11 "2020-08-21T20:58:34Z")

</div>


