No meetings with type 1!

Description

I would like to get all recent Zoom participants!

I am attempting to do this by chaining the following API requests

  1. GET all scheduled meetings
    var options = {
          method: 'GET',
          url: /v2/users/me/meetings?type=scheduled&page_size=300&page_number=1',
        };
  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: 75564242463,
       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

@tmswartz12 Hi Tyler, thanks for posting & using Zoom!

type in meeting settings specifies whether a meeting is an instant meeting or a scheduled meeting. Meetings which are scheduled are valid for 30 days, after which they become a past meeting.

For a more comprehensive strategy to get meeting partcipants, I would recommend our Participant Report APIs or using our Webhook Participant Events to subscribe to all participation data.

Thanks Michael! I appreciate your help with this.

When you say are valid for 30 days… does that mean if I create a scheduled meeting for today. We have the meeting today. It wouldn’t be considered a past meeting until 30 days from now?

Hey @tmswartz12,

After the meeting ends, it will be a past meeting for 30 days until it is expired.

You can still access it after the 30 days through the dashboard and report endpoints.

Thanks,
Tommy