Zoom Phone Metrics API – Error Code 2031

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

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

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!

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