Description
I would like to get all recent Zoom participants!
I am attempting to do this by chaining the following API requests
- GET all scheduled meetings
var options = {
method: 'GET',
url: /v2/users/me/meetings?type=scheduled&page_size=300&page_number=1',
};
- GET past meeting participants
var options = {
method: 'GET',
url: `/v2/past_meetings/${uuid}/participants?page_size=300`,
};
I am able to get the list of meetings with no error. I run into an issue when attempting to get participants.
[ { uuid: '6pZg8NQjSiiR/z5IDT+7ig==',
id: ***********,
host_id: 'YQK1HPgsTeCiDDo2urRsLA',
topic: 'string',
type: 2, //IMPORTANT!!!!!?
start_time: '2020-05-11T23:37:16Z',
duration: 60,
timezone: 'America/Los_Angeles',
created_at: '2020-05-11T23:37:16Z',
]
Here is the error:
Error
message: 'Meeting does not exist: 6pZg8NQjSiiR/z5IDT+7ig==.' }
I am thinking that this may have to do with the meeting type as some meetings require registration while some don’t. From the documentation the type determines whether or not this meeting requires registration or not… however every meeting I get from the response is type 2!!! (although not all of the meetings I have created… require registration)
SHOULD I BE SEEING MEETINGS OF TYPE 1?
If the answer is yes^… I think the solution can involve using
v2/past_meetings/${uuid}/participants for TYPE 1
v2/meetings/{meetingId}/registrants for TYPE 2
THANKS for the help!!
- Tyler
Which App Type (OAuth / Chatbot / JWT / Webhook)?
I am using Oauth
*This post has been edited to remove any meeting / webinar IDs