# The link to the API zoom

**URL:** <https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337>\
**Category:** API and Webhooks\
**Created:** [October 25, 2023, 10:19am UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337 "2023-10-25T10:19:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonshupen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/antonshupen/32/49346_2.png) [@antonshupen](https://devforum.zoom.us/u/antonshupen)\
**Post date:** [October 25, 2023, 10:19am UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/1 "2023-10-25T10:19:30Z")

</div>

Hello, web developers, I`m new in this developing and got stuck and this error "Client error: "GET https://api.zoom.us/v2/users/52307911/token?type=token` resulted in a `400 Bad Request` response: {“code”:200,“message”:“Account does not enabled REST API.”}" When I try to connect to the REST API and I have question what should I write here ‘[https://api.zoom.us/v2/users/me](https://api.zoom.us/v2/users/me)’  
instead of ‘me’ I tried every data that I have in my project and still had the same error. Only when I tried this one ‘ZOOM\_API\_KEY’ I had this error “Undefined constant “Modules\Zoom\Service\and my zoom api key””.

---

<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:** [October 25, 2023, 2:24pm UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/2 "2023-10-25T14:24:43Z")

</div>

Hi @antonshupen ,

What exactly did you do to get there? What type of app did you create? Please walk me through reproducing and check this out:

> [@Account does not enabled REST API. in return to Webinar Details Api Call](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-return-to-webinar-details-api-call/97191/3):
>
> Hi @ali.mosabebi , Yes it could be either of those things! We he have a few threads on this. Please check them out and see if it helps isolate for your situation slight_smile

---

<div class="post-metadata">

**Author:** ![antonshupen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/antonshupen/32/49346_2.png) [@antonshupen](https://devforum.zoom.us/u/antonshupen)\
**Post date:** [October 26, 2023, 6:49am UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/4 "2023-10-26T06:49:01Z")

</div>

[quote=“Gianni, post:2, topic:97337, username:gianni.zoom”]  
What exactly did you do to get there

I just wanted to get tokens from the [api](http://api.zoom.us), and had that error in my laravel.  
I did use the OAuth app.  
And did try to use Postman and still have the same error that {“code”:200,“message”:“Account does not enabled REST API.”}".

---

<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:** [October 26, 2023, 2:20pm UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/5 "2023-10-26T14:20:44Z")

</div>

Hi @antonshupen,

Please try re-generating an access token using the guidance in our public workspace:

[https://www.postman.com/zoom-developer/workspace/zoom-public-workspace/folder/22097587-4ce41fb2-7e24-4787-b0ee-0ef73b1a91e6](https://www.postman.com/zoom-developer/workspace/zoom-public-workspace/folder/22097587-4ce41fb2-7e24-4787-b0ee-0ef73b1a91e6)

---

<div class="post-metadata">

**Author:** ![antonshupen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/antonshupen/32/49346_2.png) [@antonshupen](https://devforum.zoom.us/u/antonshupen)\
**Post date:** [October 26, 2023, 4:01pm UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/6 "2023-10-26T16:01:54Z")

</div>

Thank you everything working great!  
I have a question for you, how to get the password of the meeting in JS? Because I did write it manually but want to do it automatically

---

<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:** [October 27, 2023, 1:58pm UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/7 "2023-10-27T13:58:53Z")

</div>

Hi @antonshupen , if you use the create a meeting endpoint, you can grab the password from the response body programmatically

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 28, 2023, 1:59pm UTC](https://devforum.zoom.us/t/the-link-to-the-api-zoom/97337/8 "2023-10-28T13:59:32Z")

</div>

Closed on October 28, 2023, 1:59pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
