# Zoom Phone Metrics API – Error Code 2031

**URL:** <https://devforum.zoom.us/t/zoom-phone-metrics-api-error-code-2031/134437>\
**Category:** Phone\
**Tags:** api\
**Created:** [June 25, 2025, 5:44am UTC](https://devforum.zoom.us/t/zoom-phone-metrics-api-error-code-2031/134437 "2025-06-25T05:44:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blake1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/blake1/32/69866_2.png) [@Blake1](https://devforum.zoom.us/u/Blake1)\
**Post date:** [June 25, 2025, 5:44am UTC](https://devforum.zoom.us/t/zoom-phone-metrics-api-error-code-2031/134437/1 "2025-06-25T05:44:05Z")

</div>

**Description**  
When running the following API request:

GET … /v2/phone/metrics/call\_logs/{callLogID}

I am consistently getting a 403 response with the following error:

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

I’ve verified all of the following:

- The `account_id` in use is correct and matches my Zoom tenant
- I’m using the account owner’s credentials (myself), who has an active Zoom Phone license
- The Server-to-Server OAuth app is fully activated and installed
- The following scopes are enabled and added to the Salesforce Named Credential:
  - `phone:read:call_log:admin`
  - `phone:read:list_call_logs:admin`
  - `phone:read:call_log:master`

Questions..

- Is there an undocumented required scope for this endpoint?
- Does the `metrics/call_logs/{id}` endpoint reject UUID-style or long integer IDs under any condition?
- Could there be a backend configuration error even when Zoom Phone is active and licensed for the account?

Quick note on purpose- I am initiating the request via Salesforce to add Caller ID to Call Log records made by the Zoom Phone integration

Any help is appreciated

---

<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:** [June 25, 2025, 7:47pm UTC](https://devforum.zoom.us/t/zoom-phone-metrics-api-error-code-2031/134437/2 "2025-06-25T19:47:07Z")

</div>

Hi @Blake1  
Thanks for reaching out to us!  
This is interesting, would you be able to share a tracking ID of the request please?  
Also are you passing the right call\_id? note that this is different than the call Log ID

---

<div class="post-metadata">

**Author:** ![Blake1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/blake1/32/69866_2.png) [@Blake1](https://devforum.zoom.us/u/Blake1)\
**Post date:** [June 25, 2025, 8:14pm UTC](https://devforum.zoom.us/t/zoom-phone-metrics-api-error-code-2031/134437/3 "2025-06-25T20:14:20Z")

</div>

H Elisa-

I tried passing both the Call ID (i.e., 0685acc7d56d61c03e6) and the Calllog Unique ID (i.e., 0685c52a92a3d07d332-Inbound-Ym1jbmVlbHlAYnVkZHlidXlzaXQuY29t). Neither worked.

Let me know if that helps!

---

<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:** [June 27, 2025, 5:40pm UTC](https://devforum.zoom.us/t/zoom-phone-metrics-api-error-code-2031/134437/4 "2025-06-27T17:40:03Z")

</div>

Hi @Blake1  
I will send you a DM to get some sample data, because I am not able to reproduce this on my end.  
It does work when I use the call\_id I get from the Get call history endpoint
