Description
PRO level accounts do not have access to the dashboard metrics api’s. Currently as far as I am aware the only way to see all recordings made account wide over the last 24 hours with a single api call is using the metrics api.(/v2/metrics/meetings)
So without that being an option on PRO level account, to see all recordings made over the last 24 hours on a PRO account the only other path I can see is this:
Unfortunately this would lead to a lot a calls to the api.
Do you have a better solution or is this just a limitation you put on PRO level accounts do to them not paying as much? I also imagine PRO accounts are more likely to have fewer users on an account than a Business/Enterprise account does.
Comments
Yes, I know about the recording.completed webhook and happily use it. Unfortunately we have run across instances where the webhook was not received and so building a type of redundancy that checks the API for what recordings happened is necessary.
Ah, thank you for pointing this out. That looks a little more promising. I will try it out. Looks similar to the metrics request but the response shape is just a list of the recordings object.
I checked other endpoints and the token works fine for them (users/me, meetings/uuid/recordings) but then when I come back to this it says it is invalid?
{
"code": 4700,
"message": "Invalid access token, does not contain scopes: [zms:recording:read, zms:recording:write, account:read:admin, account:write:admin]"
}
Any ideas?
I added account:read:admin which finally gave me access to get https://api.zoom.us/v2/accounts/me/recordings
but if I put my actual account id in there instead of me it gives me the "Invalid access token." response.
This feels weird to me. If I already have permission to view all user recordings with recording:read:admin then why do I need a separate scope permission to view the same data through a more convenient API?
Maybe I am just complaining that to add the account:read:admin scope requires me to update the app in the marketplace, and then get all my users to re-authorize the app so I can get the updated scope permission enabled, and meanwhile the code has to handle both scenarios as well.
Also the documentation would be more helpful if it specified that recording:read:admin only works for sub-accounts. Currently it reads like if you specify the account id then recording:read:admin is sufficient scope to view all recordings for any account you have permission to. And if other developers are like me then they stopped reading there and went to try it and it kept failing like it did for me.