# Account does not enabled REST API. in return to Webinar Details Api Call

**URL:** <https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-return-to-webinar-details-api-call/97191>\
**Category:** Webinars\
**Tags:** api\
**Created:** [October 23, 2023, 5:25am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-return-to-webinar-details-api-call/97191 "2023-10-23T05:25:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali.mosabebi](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ali.mosabebi](https://devforum.zoom.us/u/ali.mosabebi)\
**Post date:** [October 23, 2023, 5:25am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-return-to-webinar-details-api-call/97191/1 "2023-10-23T05:25:00Z")

</div>

Hello everyone,

We have a web app that calls the Zoom API to retrieve details of webinars/meetings and generate a report for our clients. We are in the process of transitioning to a server-to-server OAuth app. I can generate a token and successfully send it to retrieve webinar details in Postman. However, when I run our C# code, I can generate the token but cannot retrieve the details. Instead, I receive an error/bad request.

Could you please clarify what this error means? Is it related to network or HTTPS issues, or is there something incorrect in the request body/header or authorization that’s causing this error when sending the request to the Zoom API?

Thank you.

---

<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 23, 2023, 12:11pm UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-return-to-webinar-details-api-call/97191/3 "2023-10-23T12:11:06Z")

</div>

Hi @ali.mosabebi ,

> [@ali.mosabebi](#):
>
> I can generate a token and successfully send it to retrieve webinar details in Postman. However, when I run our C# code, I can generate the token but cannot retrieve the details. Instead, I receive an error/bad request.
> 
> Could you please clarify what this error means? Is it related to network or HTTPS issues, or is there something incorrect in the request body/header or authorization that’s causing this error when sending the request to the Zoom API?

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 🙂

> [@Issue with Zoom API - Migration from JWT to Server-to-Server OAuth - PHP cUrl -code":200,"message":"Account does not enabled REST API."](https://devforum.zoom.us/t/issue-with-zoom-api-migration-from-jwt-to-server-to-server-oauth-php-curl-code-200-message-account-does-not-enabled-rest-api/95052/7):
>
> A request for account\_credentials requires an account\_id in the URL, and a ClientID/ClientSecret in the request itself: " To use account credentials to get an access token for your app, call the Zoom OAuth token API with the account\_credentials grant\_type , your account\_id , and your client ID and client secret, [base64 encoded](https://www.base64encode.org/) (encode your client ID and client secret with a colon between them, e.g. client\_id:client\_secret )." By the way, it’s far easier to create/compose these requests using…

> [@Account does not enabled REST API."](https://devforum.zoom.us/t/account-does-not-enabled-rest-api/94180/2):
>
> Hey @codanji , welcome and thanks for posting! Sorry about the blockage here! Because requests work in Postman, I’d imagine this has to be an issue with the format of the HTTPS request being sent to the Zoom API. The same access token works in Postman, but does not using this function? If you use this app to get a token, do your curl requests work? [GitHub - zoom/server-to-server-oauth-token: Utility script to generate a Zoom Server-to-Server Oauth Token and copy to clipboard](https://github.com/zoom/server-to-server-oauth-token)
