I want to use the Zoom Meetings API to fetch the report that returns the details of who have attended a one particular meeting, the meeting is also recurring
I tried creating an OAuth Server to Server Application as jwt will be deprecated on June or July 2023.
I provided the client id and client secret with the grant type of client credentials in my python script that did generate the access token, but when I try calling
the meeting end point to get the report I am facing two issues either I get this error
{
“code”: 200,
“message”: “Account does not enabled REST API.”
}
or when I try to pass the access token as authorization header in Postman I get this error
The user id and meeting is correct I applied the developer role to the user ID hence able to create the OAuth Server to Server Application but still facing the same issue
The ID in use is licensed and not a free account.
Not sure if this is the case but said that it is needed to enable rest API from the feature setting, but the admin account is not able to find this option anywhere.
Again, I do not want to integrate this with a 3rd party service or anything complex what I need to mainly is to get one recurring meeting report daily.
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!
By taking a look at the code snippet you shared with us, it looks like you are passing the wrong grant_type.
To request an access token using Server to Server OAuth credentials, the grant_type in the request must be “account_credentials” , this could be the reason why your request to retrieve meetings is failing.
Also, here is a post on How to user Server to Server Oauth app with Postman, that also walks you through the settings needed to be able to use this app type:
Hi @wajeeh.rehman
It looks like when you are calling the report endpoint, you are passing the account _id, have you tried passing the userID or the parameter “me”
Also I checked my roles option and I am not able to find a way to add the scopes for meeting:read and meeting:write but only for Dashboards and reports