# Invalid access token. in DashBoards List meeting participants

**URL:** <https://devforum.zoom.us/t/invalid-access-token-in-dashboards-list-meeting-participants/97118>\
**Category:** Meetings\
**Tags:** api\
**Created:** [October 20, 2023, 8:11am UTC](https://devforum.zoom.us/t/invalid-access-token-in-dashboards-list-meeting-participants/97118 "2023-10-20T08:11:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![itallon32](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itallon32/32/53182_2.png) [@itallon32](https://devforum.zoom.us/u/itallon32)\
**Post date:** [October 20, 2023, 8:11am UTC](https://devforum.zoom.us/t/invalid-access-token-in-dashboards-list-meeting-participants/97118/1 "2023-10-20T08:11:28Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
_Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context._

/accounts/{accountId}/metrics/meetings/{meetingId}/participants

**Description**  
_Details on your question, workflow or the problem you’re trying to solve._

Hello, I am leaving a message because I have a question about using the API.

Previously, the jwt method was used. The jwt method has been discontinued and is being changed to server to server oauth.

We hope to use List meeting participants ‘/accounts/{accountId}/metrics/meetings/{meetingId}/participants’

1. Access\_token was received through [https://zoom.us/oauth/token](https://zoom.us/oauth/token).

2. “scope”: "user:write:admin meeting\_token:read:admin:local\_recording dashboard\_zr:read:admin dashboard\_im:read:admin user:read:admin meeting:read:admin:sip\_dialing information\_barriers:write:admin dashboard\_home:read: admin dashboard\_crc:read:admin meeting\_token:read:admin:live\_streaming meeting:write:admin:sip\_dialing user:master meeting:master meeting\_token:read:admin:local\_archiving information\_barriers:read:admin dashboard:master dashboard\_webinars:read:admin meeting:read: I checked the permissions with “admin dashboard\_meetings:read:admin information\_barriers:read:master meeting:write:admin information\_barriers:write:master”. Check the scope.

3. We tested with [https://api.zoom.us/v2/users/{userId}](https://api.zoom.us/v2/users/%7BuserId%7D), the token worked normally, and we were able to receive a response.

4. However, when calling GET/accounts/{accountId}/metrics/meetings/{meetingId}/participants  
Authorization : Bearer {mytoken}  
url : /accounts/{accountId}/metrics/meetings/{meetingId}/participants  
meetingId length is 10

status : 401  
body : {  
“code”: 124,  
“message”: “Invalid access token.”  
}  
An error like this is occurring.

I would appreciate it if you could tell me how to solve the problem.

---

<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:** [October 23, 2023, 12:35pm UTC](https://devforum.zoom.us/t/invalid-access-token-in-dashboards-list-meeting-participants/97118/2 "2023-10-23T12:35:38Z")

</div>

> [@itallon32](#):
>
> However, when calling GET/accounts/{accountId}/metrics/meetings/{meetingId}/participants  
> Authorization : Bearer {mytoken}  
> url : /accounts/{accountId}/metrics/meetings/{meetingId}/participants  
> meetingId length is 10

Hi @itallon32 ! This is a Master Account API: [Master Account API](https://developers.zoom.us/docs/api/rest/master-account-apis/)

Can you please confirm you are a master account? Here are similar threads:

> [@Code 2013: Server to Server change from JWT](https://devforum.zoom.us/t/code-2013-server-to-server-change-from-jwt/91623/4):
>
> This issue has been resolved: If anyone else is here with the same issue it may be that you’re using the Master account endpoints unnecessarily. These endpoints have the additional string /accounts/{accountId} in the URLs and will yield errors if are not calling the endpoints from an enabled Master account with sub-account relationships: [Zoom Meeting Master API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/ma/#overview)[Zoom Phone Master API](https://developers.zoom.us/docs/api/rest/reference/phone/ma/#overview) Please use the non-Master account endpoints. In this instance, for example: USE [Zoom Phone API](https://developers.zoom.us/docs/api/rest/reference/phone/methods/#operation/getCallLogDetails) DO NOT USE [Z…](https://developers.zoom.us/docs/api/rest/reference/phone/ma/#operation/getCallLogDetails)

> [@Error 500 for Plan Usage API](https://devforum.zoom.us/t/error-500-for-plan-usage-api/96560/6):
>
> Hi @rotabigue @val.curada to confirm, are you the master account querying a subaccount id? If so, it should work. If you’re a subaccount trying to see your own usage, I do not believe it should work. Please also confirm the querying user has the “manage the subaccount” role enabled. [image]

---

<div class="post-metadata">

**Author:** ![itallon32](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itallon32/32/53182_2.png) [@itallon32](https://devforum.zoom.us/u/itallon32)\
**Post date:** [November 2, 2023, 7:03am UTC](https://devforum.zoom.us/t/invalid-access-token-in-dashboards-list-meeting-participants/97118/4 "2023-11-02T07:03:27Z")

</div>

I complete my job use this url

> **[Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/dashboardMeetingParticipants)**
>
> API Reference for /docs/api/rest/reference/zoom-api/methods

---

<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:** [November 7, 2023, 5:09pm UTC](https://devforum.zoom.us/t/invalid-access-token-in-dashboards-list-meeting-participants/97118/5 "2023-11-07T17:09:04Z")

</div>

Hi @itallon32 , are you saying this is now resolved?
