this is not really a question anymore
I had someone with access show me the marketplace and it seems like webhooks are the way to go; notify me of participant/host joined meeting…see if I care about the participant based on ID, make the appropriate API calls from there? Would appreciate any input but this seems valid to me in theory. Original question below.
Description
I’m trying to see if there’s a better way to go about this, we have a requirement to make a custom dashboard for “VIP” users, for whom we have a collection of user ids (in the format of Zx756wViKy62pYRea)
First I’ll explain how we are doing it, with the understanding that it seems like a terrible idea and I’m just missing the better/faster way.
Step 1: call “https://api.zoomgov.com/v2/metrics/meetings?type=live” to get all active meetings
Step 2: iterate through those meetings using the meeting id, so say my next call would be “https://api.zoomgov.com/v2/metrics/meetings/12345678/participants”
Step 3: In that list of participants, look for one with “id” of “Zx756wViKy62pYRea” and if exists, get their “user_id” field (let’s say it’s 9876543)
–now we have a combination of meeting and “VIP” user we care about - so we want qos
Step 4: Use that to call “https://api.zoomgov.com/v2/metrics/meetings/12345678/participants/9876543/qos”
It seems like any of the following things would make my life easier but I may be missing something obvious:
- (ideal) being able to hit an api with user.id Zx756wViKy62pYRea and have it tell me any meetings/rooms/etc they’re currently in
1.5 (Probably even more ideal?) I use a webhook and notify myself of participant login/join/etc and if it’s a participant id that I care about…go do my thing? I don’t have access to the marketplace myself so I’ve no idea what’s available, I was just given a token to test api calls with.
-
being able to call with the alphanumeric id like “https://api.zoomgov.com/v2/metrics/meetings/12345678/participants/Zx756wViKy62pYRea/qos” would let me iterate through meetings and the userids I care about, if it returns an error they’re not in that meeting and I move on. If it returns QOS data I start charting it
-
knowing the integer id ahead of time without having to look a meeting participants. It seems so obvious I feel I must be missing it but if I only have user.id “Zx756wViKy62pYRea” I don’t see where I can find user.user_id of “9876543” (unless that’s unique every for that user/meeting combo and isn’t the same for the same person across different meetings?)
Error
If I call https://api.zoomgov.com/v2/metrics/meetings/12345678/participants/Zx756wViKy62pYRea/qos
where both meetingid and participantid are valid and live, I get 3001/meeting does not exist. I have to call it with the integer-type participantid, which I have to spend a lot of effort digging through meetings for.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT at the following:
https://api.zoomgov.com/v2/metrics/meetings ({}/participants/{}/qos)
I would be thrilled to give specific examples over email if there’s a separate address for zoomgov dev support. Thanks! -Allen