# Granular Scope - issues with multiple Zoom Phone APIs

**URL:** <https://devforum.zoom.us/t/granular-scope-issues-with-multiple-zoom-phone-apis/107803>\
**Category:** Phone\
**Tags:** phone, api\
**Created:** [April 12, 2024, 4:12pm UTC](https://devforum.zoom.us/t/granular-scope-issues-with-multiple-zoom-phone-apis/107803 "2024-04-12T16:12:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.sommer](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martin.sommer](https://devforum.zoom.us/u/martin.sommer)\
**Post date:** [April 12, 2024, 4:12pm UTC](https://devforum.zoom.us/t/granular-scope-issues-with-multiple-zoom-phone-apis/107803/1 "2024-04-12T16:12:28Z")

</div>

We are trying to create a OAuth app (Legacy App).  
Steps:

1. Go to [App Marketplace](https://marketplace.zoom.us/user/build).
2. From “Develop” menu, select “Build Legacy App”
3. Add scopes to the app in the scope section.

All the below issues were not present in the existing apps which were created from before the introduction of the granular scopes.

* * *

* * *
  

**API Issue #1:**

- API: GET /v2 /phone/metrics/call\_logs/{call\_id}
- Documentation: [Zoom Phone API](https://developers.zoom.us/docs/api/rest/reference/phone/methods/#operation/getCallLogMetricsDetails)
- Description: In the documentation for this API, it is mentioned that the granular scope required is: “phone:read:call\_log:admin”. However, even after adding this scope, the GET call to this API returns the error message:

```auto
{
    "code": 104,
    "message": "Invalid access token, does not contain scopes:[]."
}

```

So, unlike lot of other APIs, even the required scope does not get listed here.

* * *
  

**API Issue #2:**

- API: /v2/phone/recording/download/jnAbo0NyRuCpDISvUTC3mQ
- Documentation: No separate documentation available for this API.
- Description: Even after adding the scopes - “phone:read:call\_recording:admin” and “phone:read:call\_recording”, getting the below error message. Can you help us with the right scope to be used for this endpoint call ?

```auto
{
    "code": 104,
    "message": "Invalid access token, does not contain scopes:[]."
}

```

So, unlike lot of other APIs, even the required scope does not get listed here.

* * *
  

**API Issue #3:**

- API: /v2/voice\_mails/download/qG-5cMoITJO29qXKFa1IgA
- Documentation: No separate documentation available for this API.
- 
  - Description: Even after adding the scopes - "“phone:read:voicemail:admin” and  
“phone:read:voicemail”, getting the below error message. Can you help us with the right scope to be used for this endpoint call ?

```auto
{
    "code": 104,
    "message": "Invalid access token, does not contain scopes:[]."
}

```

So, unlike lot of other APIs, even the required scope does not get listed here.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [April 15, 2024, 7:18pm UTC](https://devforum.zoom.us/t/granular-scope-issues-with-multiple-zoom-phone-apis/107803/3 "2024-04-15T19:18:12Z")

</div>

Can you please respond to my _private message_ with the following info. You will see the notification for it when you click on your profile picture in the top right corner of the forum and should see a mail icon next to the notification:

- developer email associated with app
- client id associated with requests
- zm-tracking-id(s) from the API response header(s)

---

<div class="post-metadata">

**Author:** ![martin.sommer](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martin.sommer](https://devforum.zoom.us/u/martin.sommer)\
**Post date:** [April 16, 2024, 5:15am UTC](https://devforum.zoom.us/t/granular-scope-issues-with-multiple-zoom-phone-apis/107803/4 "2024-04-16T05:15:01Z")

</div>

It is working as expected now @gianni.zoom . But for some reason it was not working earlier.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [April 16, 2024, 9:40pm UTC](https://devforum.zoom.us/t/granular-scope-issues-with-multiple-zoom-phone-apis/107803/5 "2024-04-16T21:40:16Z")

</div>

Ahh okay thank you for letting me know!
