# Account does not enabled REST APi server-to-server app

**URL:** <https://devforum.zoom.us/t/account-does-not-enabled-rest-api-server-to-server-app/99134>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [November 28, 2023, 7:06am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-server-to-server-app/99134 "2023-11-28T07:06:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 28, 2023, 5:04pm UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-server-to-server-app/99134/2 "2023-11-28T17:04:02Z")

</div>

Hi @marc5 ,

There are several threads on this with tagged solutions. Please use the search feature 🙂

This one may be helpful"

> [@Server2Server OAuth returning {'code': 200, 'message': 'Account does not enabled REST API.'}](https://devforum.zoom.us/t/server2server-oauth-returning-code-200-message-account-does-not-enabled-rest-api/95519/6):
>
> Hello i find the solution with PHP and curl, and Server-to-Server OAuth: I published the code on github $accountID = 'xxxxxxxxxxxx'; $clientId = 'xxxxxxxxxxxxx'; $clientSecret = 'xxxxxxxxxxxxxxx'; $authHeader = base64\_encode($clientId . ':' . $clientSecret); $url = 'https://zoom.us/oauth/token'; $data = ['grant\_type' =\> 'account\_credentials', 'account\_id' =\> $accountID,]; $ch = curl\_init($url); curl\_setopt($ch, CURLOPT\_RETURNTRANSFER, true); curl\_setopt($ch, CURLOPT\_POST, true); …

I also recommend retrieving your access token via Postman and seeing if it allows you to query the API endpoint. If successful, it can help isolate the error in your code.: [Postman](https://www.postman.com/zoom-developer/workspace/zoom-public-workspace/request/22097587-875f65b4-d88f-4082-80af-7605303a5abc)

---

_[View the full topic](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-server-to-server-app/99134)._
