# Account does not enabled REST API in PHP

**URL:** <https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383>\
**Category:** Meetings\
**Tags:** webhooks, api\
**Created:** [October 26, 2023, 9:50am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383 "2023-10-26T09:50:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bloommedico](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bloommedico](https://devforum.zoom.us/u/bloommedico)\
**Post date:** [October 26, 2023, 9:50am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/1 "2023-10-26T09:50:36Z")

</div>

I am facing the same issue previously it was working before but it is not working now and it is showing me this error

Array  
(  
[code] =\> 200  
[message] =\> Account does not enabled REST API.  
)  
When I am creating a meet url my meeting array is

Array  
(  
[topic] =\> Booking Meeting  
[agenda] =\> Booking Meeting  
[settings] =\> Array  
(  
[host\_video] =\>  
[participant\_video] =\> 1  
[join\_before\_host] =\> 1  
[audio] =\> 1  
[approval\_type] =\> 2  
[waiting\_room] =\>  
)

```
[password] => J2zD7L

```

)

I am creating user id by this function

```auto

public function getUserId()
    {
        $response = $this->client->doRequest(
            'GET',
            '/users/{userId}',
            [],
            ['userId' => Config::$email]
        );
        
        if ($this->client->responseCode() == 200) {
            return $response['id'];
        } else {
            return $response;
        }
    }

```

Can you please help me in this case

---

<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, 11:00pm UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/3 "2023-10-26T23:00:39Z")

</div>

Hi @bloommedico ,

There are quite a few threads on this. Please search the forum for “account does not enabled rest api” 🙂

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 26, 2023, 11:01pm UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/4 "2023-10-26T23:01:50Z")

</div>

@bloommedico,

Is Rest API enabled for your account? As a test, can you try to create a meeting with a tool like Postman? This will help isolate the issue. In the meantime, you can also take a look at this post with a similar issue :

> [@Account does not enabled REST API](https://devforum.zoom.us/t/account-does-not-enabled-rest-api/81247/15):
>
> HI @HelloMusicFamily Please, take a look into our Docs here where you will find valuable information on how to use OAuth with Zoom [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) It looks like you are creating the token with client credentials that are tied to Oauth applications. Are you trying to use a Server-to-Server Oauth app? In that case, you want to use account\_credentials [https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/#use-ac…](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/#use-account-credentials-to-get-an-access-token)

---

<div class="post-metadata">

**Author:** ![bloommedico](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bloommedico](https://devforum.zoom.us/u/bloommedico)\
**Post date:** [October 27, 2023, 4:56am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/5 "2023-10-27T04:56:24Z")

</div>

Hi @donte.zoom ,

How I can check is REST enabled in my account ? Previously (10-15 days earlier) it was working perfectly and meeting too was created with the data but now it is not working. Should I share some more details of my account that you can look into this matter?

---

<div class="post-metadata">

**Author:** ![bloommedico](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bloommedico](https://devforum.zoom.us/u/bloommedico)\
**Post date:** [October 27, 2023, 5:10am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/6 "2023-10-27T05:10:11Z")

</div>

Hi @donte.zoom ,

Upon checking on [App Marketplace](https://marketplace.zoom.us/user/build). It is showing that my JWT ap is deprecated. Is this is the possible reason for the same error? and if it is then should I have to create new JWT app?

---

<div class="post-metadata">

**Author:** ![bloommedico](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bloommedico](https://devforum.zoom.us/u/bloommedico)\
**Post date:** [October 27, 2023, 6:26am UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/7 "2023-10-27T06:26:45Z")

</div>

Hi Team,

I have figured out the issue it was my JWT app and it was deprecated on Sep, 8. I have renabled it and will move it to OAUTH type. Thanks for you help 🙂

---

<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:21pm UTC](https://devforum.zoom.us/t/account-does-not-enabled-rest-api-in-php/97383/8 "2023-10-27T13:21:23Z")

</div>

Hi @bloommedico , if you were using JWT app type as your internal app, move over to Server-to-Server OAuth app type.
