I am using the server-to-server oauth App and generate the account_id, client_id and client_secret and gettig the the oauth token by using this endpoint https://zoom.us/oauth/token
I want to get the user license information. For that I found the endpoint
When I hit this endpoint with valid token, API respond with following message
“message”: “Invalid access token, does not contain scopes: [billing_plan:read:admin].”
I try to find from where I can add the [billing_plan:read:admin] scope in my settings but fails to find that.
Please let me know how I can fix that issue and get the details of use licesnce (including their start and expiry date ).
The pro license is not a master account license.
So you won’t be able to access the endpoint you are referring to.
With the license you have, you can call the endpoint Get a user and you will be able to see what’s the users’ plan type
Unfortunately, we do not have an endpoint that will allow you to get that data if you do not have a master account license.
You could probably try the Get billing reports endpoint and see if this endpoint provides you what you are looking for
Are you the account owner or admin of the account?
If not, please ask the admin or owner to give your user role permissions to access reports.
If you are using a server to server oauth app you can refer to this post:
To get a Master Account license, you would have to reach out to our sales team here:
Unfortunately there is not an endpoint that you can use to get this information
The only other thing that I am thinking about is if you are trying to call the Get billing reports endpoint, it looks like you might need to contact Zoom support team to grant you access to this endpoint