Zoom Phone call_history endpoint scopes

I’m trying to get Zoom Phone call history using this endpoint:

I have an app with these scopes:
phone:read:list_call_logs:admin phone:read:call_log:admin phone:read:call:admin

When I try to make an api call I get this response:
{
“code”: 104,
“message”: “Invalid access token, does not contain scopes:.”
}

The call logs endpoint (that will be deprecated next year) works with the scopes I have, but I don’t want to create a process and transition it to the new call_history endpoint.

The granular scopes info says that I should have the proper scope to hit the call_history endpoint.

Does anyone know why this might not be working?

Hi @n8bdayton ,

Looking into this. Can you please share how to reproduce and when you noticed not being able to access the endpoint with the granular scopes applied?

Thanks!

Got an access token from this endpoint using client id, secret, account: https://zoom.us/oauth/token

{
“access_token”: “xxx”,
“token_type”: “bearer”,
“expires_in”: 3600,
“scope”: “phone:read:list_call_logs:admin phone:read:call_log:admin phone:read:call:admin”
}

Then used the access token to make a get request to this endpoint (no parameters, just trying to do an initial test call)

https://api.zoom.us/v2/phone/call_history.

We are just starting to look into pulling data via REST API so this is in the initial stages of testing. Just wanted to make sure my app has the correct scopes to pull the call log data.

1 Like

Hi Gianni, just following up to see if the response I gave provided enough info to help diagnose the issue we are having.

Hi @n8bdayton ,

Just sent a private message to you requesting additional info. You should see the notification.

Our admin recreated the client app for us and everything is working as expected. The permissions must not have been set correctly the first time. Closing this now.