# Permissions - Zoom Phone has not been enabled for this account

**URL:** <https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401>\
**Category:** API and Webhooks\
**Created:** [July 18, 2022, 12:38pm UTC](https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401 "2022-07-18T12:38:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnichel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jnichel/32/39482_2.png) [@jnichel](https://devforum.zoom.us/u/jnichel)\
**Post date:** [July 18, 2022, 12:38pm UTC](https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401/1 "2022-07-18T12:38:38Z")

</div>

Hi, I’m trying to access the phone logs for our company via the API. I was able to get OAuth working, but when I run my script, I get the following error:

{“code”:2031,“message”:“Zoom Phone has not been enabled for this account.”}

I think I have the permissions set as needed:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/8/d8ffd40b6fb61ed2525d0092e9155baf38c6fe6b.jpeg)  
My code is as follows:

```auto
$url = $endpoint . "/phone/call_logs";
$headers = array (
    "Accept: application/json",
    "Content-Type: application/json",
    "Authorization: Bearer " . $token['Token']
);
$useragent = "KegWorks-API/1.0.0/" . phpversion();
$query = array(
    "page_size" => 10
);
$payload = json_encode($query);
print_r ($headers);

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload );
$response = curl_exec($ch);
curl_close($ch);

```

Any help would be greatly appreciated.

---

<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:** [July 18, 2022, 4:34pm UTC](https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401/2 "2022-07-18T16:34:37Z")

</div>

Hi @jnichel nichel,

Thank you for reaching out to the Zoom Developer Forum. It looks like something that needs to be accommodated on our end. Please submit a ticket summarizing the issue with the link to this thread included. In that ticket, please also provide your account number.

You can submit a ticket by navigating to our [Developer Support Center](https://devsupport.zoom.us/).

Make sure you’re signed in to submit a request.

Gianni

---

<div class="post-metadata">

**Author:** ![jnichel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jnichel/32/39482_2.png) [@jnichel](https://devforum.zoom.us/u/jnichel)\
**Post date:** [July 24, 2022, 4:41pm UTC](https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401/3 "2022-07-24T16:41:50Z")

</div>

Thank you for the response. I created a ticket (#14864181) and after 6 days of back and forth, Karen basically told me to bring my problem to the Developer Forum. Her last two posts, prior to the kiss of death, was to change my grant\_type to ‘account\_credentials’ when requesting the token, but when I do that, I get the error:

```auto
stdClass Object
(
    [reason] => unsupported grant type
    [error] => unsupported_grant_type
)

```

When using ‘client\_credential’ as my grant type, my token request returns this:

```auto
stdClass Object
(
    [access_token] => e ********** g
    [token_type] => bearer
    [expires_in] => 3599
    [scope] => phone:master phone:read:admin phone:write:admin phone_call_control:master phone_call_control:read:admin phone_call_control:write:admin phone_call_log:master phone_call_log:read:admin phone_call_log:write:admin phone_e911:read:admin phone_recording:master phone_recording:read:admin phone_recording:write:admin phone_sms:master phone_sms:read:admin phone_sms:write:admin phone_voicemail:master phone_voicemail:read:admin phone_voicemail:write:admin user:master user:read:admin user:write:admin
)

```

And even tho is says that token has the proper scope needed, I still get the error that “Zoom Phone has not been enabled for this account.”

---

<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:** [July 25, 2022, 8:40pm UTC](https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401/4 "2022-07-25T20:40:26Z")

</div>

Hi @jnichel ,

I’ve connected with the support representative internally about the next steps to help you resolve as this is a back end issue and not something we can rectify on the forum. Thank you for your patience!

Gianni

---

<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:** [August 25, 2022, 6:40am UTC](https://devforum.zoom.us/t/permissions-zoom-phone-has-not-been-enabled-for-this-account/72401/5 "2022-08-25T06:40:56Z")

</div>

Closed on August 25, 2022, 6:40am UTC

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