# Getting "Zoom Phone has not been enabled for this account." on API call

**URL:** <https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080>\
**Category:** API and Webhooks\
**Created:** [May 26, 2021, 11:20am UTC](https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080 "2021-05-26T11:20:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbabka](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mbabka/32/21044_2.png) [@mbabka](https://devforum.zoom.us/u/mbabka)\
**Post date:** [May 26, 2021, 11:20am UTC](https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080/1 "2021-05-26T11:20:29Z")

</div>

**Description**  
Even I’m licensed for Zoom Phone and I have phone number assigned I’m getting this error on API call

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

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
/phone/numbers

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/0/801672cc932f59701e0d32406d4a34d57bf3ca4e.png)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 27, 2021, 4:34pm UTC](https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080/2 "2021-05-27T16:34:39Z")

</div>

Hi @mbabka,

Thanks for reaching out about this, and happy to help.

As a first step, can I kindly ask how you’re authenticating your request to the [List Phone Numbers](https://marketplace.zoom.us/docs/api-reference/zoom-api/phone/listaccountphonenumbers) endpoint? Are you using JWT or OAuth? If OAuth, can you confirm that you’re using an account-level app?

Lastly, can you share the exact request URL you’re using with query parameters?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![mbabka](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mbabka/32/21044_2.png) [@mbabka](https://devforum.zoom.us/u/mbabka)\
**Post date:** [May 28, 2021, 9:29am UTC](https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080/3 "2021-05-28T09:29:32Z")

</div>

Hi Will,  
I’m using JWT, not OAuth.  
In the meantime it starts to work for me and I’m able to fetch down data from Zoom cloud. My intention is to build up automation for Zoom Phone assignment and de-assignment in our company (actually we can do bulk assignment via import in GUI, but should be automated.  
Do not see many information related to Zoom Phone, most of posts are for meetings.  
Is there any source with examples or logical procedures on using API functions?

Typically I’m searching for sequence to assign new phone user - assign dialing plan - assign phone number and suppose I’m not first on it.

Thanks

Miro

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 1, 2021, 11:35pm UTC](https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080/4 "2021-06-01T23:35:44Z")

</div>

Hey @mbabka,

It looks like the issues you were encountering were related to a wider issue that we have since worked to resolve.

> [@mbabka](#):
>
> Typically I’m searching for sequence to assign new phone user - assign dialing plan - assign phone number and suppose I’m not first on it.

Try using our [Assign Phone Number API](https://marketplace.zoom.us/docs/api-reference/zoom-api/phone/assignphonenumber)

Thanks,  
Max

---

<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:** [July 2, 2021, 9:36am UTC](https://devforum.zoom.us/t/getting-zoom-phone-has-not-been-enabled-for-this-account-on-api-call/51080/5 "2021-07-02T09:36:31Z")

</div>

Closed on July 2, 2021, 9:36am UTC

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