# Zoom Phone API code:2031

**URL:** <https://devforum.zoom.us/t/zoom-phone-api-code-2031/86615>\
**Category:** Users and Groups\
**Created:** [April 13, 2023, 9:04am UTC](https://devforum.zoom.us/t/zoom-phone-api-code-2031/86615 "2023-04-13T09:04:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marius](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/marius/32/46120_2.png) [@marius](https://devforum.zoom.us/u/marius)\
**Post date:** [April 13, 2023, 9:04am UTC](https://devforum.zoom.us/t/zoom-phone-api-code-2031/86615/1 "2023-04-13T09:04:17Z")

</div>

Hi, I’m trying to get a user’s phone details i.e. extension with the below GETrequest, however I’m getting back an error : {“code”:2031,“message”:“Zoom Phone has not been enabled for this account.”}

GET: [https://api.zoom.us/v2/phone/users/me](https://api.zoom.us/v2/phone/users/me)

I’ve got a zoom phone setup and running on my user and followed the steps to get the user code and then get the relevant token for said user code and using the token as a header bearer token to authenticate.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 14, 2023, 3:59pm UTC](https://devforum.zoom.us/t/zoom-phone-api-code-2031/86615/2 "2023-04-14T15:59:20Z")

</div>

Hi @marius  
Thanks for reaching out to the Zoom Developer Forum and Welcome to our community!

Could you please confirm that you have purchased one of our Zoom Phone licenses?

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://zoom.us/pricing/zoom-phone)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![marius](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/marius/32/46120_2.png) [@marius](https://devforum.zoom.us/u/marius)\
**Post date:** [April 14, 2023, 7:29pm UTC](https://devforum.zoom.us/t/zoom-phone-api-code-2031/86615/3 "2023-04-14T19:29:52Z")

</div>

Hi Elisa,

Yes it’s part of our organization, I’ve got a zoom phone app with direct number. The webhook url works as well just the rest api having issues.

Thanks for response.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 17, 2023, 6:18pm UTC](https://devforum.zoom.us/t/zoom-phone-api-code-2031/86615/4 "2023-04-17T18:18:37Z")

</div>

Hi @marius  
Thanks for the confirmation.  
I have sent you a Direct Message asking you for more information. Make sure to follow up with me there, please.  
Cheers,  
Elisa
