Hey @a.koval,
For GET /metrics/meetings/{meetingId} you can only get past or live meetings with this endpoint.
For GET /users/{userId}/meetings it returns the parent meeting, note the "type"
is 8
in the response which means it is a recurring meeting with a fixed time. The "start_time"
is the last instance of the meeting.
For GET /meetings/{meetingId} it returns all the recurrences for the meeting including the start_time
and the duration
. You can figure out the end_time
by adding the duration to the start_time
.
This is the endpoint you should use.
Here is an example payload:
{
"uuid": "2bvHsBG2TCOwie9HPBk7kA==",
"id": 981393872,
"host_id": "KdYKjnimT4KPd8KKdQt9FQ",
"topic": "My Meeting",
"type": 8,
"status": "waiting",
"timezone": "America/Denver",
"agenda": "",
"created_at": "2020-01-15T18:03:06Z",
"start_url": "https://tommygaessler.zoom.us/s/981393872?zak=token",
"join_url": "https://tommygaessler.zoom.us/j/981393872?pwd=eUh1UzA5enJ1OFFlbjlxTitLL3ZBZz09",
"password": "576909",
"h323_password": "576909",
"pstn_password": "576909",
"encrypted_password": "eUh1UzA5enJ1OFFlbjlxTitLL3ZBZz09",
"occurrences": [
{
"occurrence_id": "1579114800000",
"start_time": "2020-01-15T19:00:00Z",
"duration": 60,
"status": "available"
},
{
"occurrence_id": "1579201200000",
"start_time": "2020-01-16T19:00:00Z",
"duration": 60,
"status": "available"
},
{
"occurrence_id": "1579287600000",
"start_time": "2020-01-17T19:00:00Z",
"duration": 60,
"status": "available"
},
{
"occurrence_id": "1579374000000",
"start_time": "2020-01-18T19:00:00Z",
"duration": 60,
"status": "available"
},
{
"occurrence_id": "1579460400000",
"start_time": "2020-01-19T19:00:00Z",
"duration": 60,
"status": "available"
},
{
"occurrence_id": "1579546800000",
"start_time": "2020-01-20T19:00:00Z",
"duration": 60,
"status": "available"
},
{
"occurrence_id": "1579633200000",
"start_time": "2020-01-21T19:00:00Z",
"duration": 60,
"status": "available"
}
],
"settings": {
"host_video": true,
"participant_video": true,
"cn_meeting": false,
"in_meeting": false,
"join_before_host": true,
"mute_upon_entry": false,
"watermark": false,
"use_pmi": false,
"approval_type": 2,
"audio": "both",
"auto_recording": "none",
"enforce_login": false,
"enforce_login_domains": "",
"alternative_hosts": "",
"close_registration": false,
"registrants_confirmation_email": true,
"waiting_room": false,
"global_dial_in_countries": [
"US"
],
"global_dial_in_numbers": [
{
"country_name": "US",
"city": "San Jose",
"number": "+1 6699006833",
"type": "toll",
"country": "US"
},
{
"country_name": "US",
"city": "New York",
"number": "+1 9292056099",
"type": "toll",
"country": "US"
}
],
"registrants_email_notification": true,
"meeting_authentication": false
},
"recurrence": {
"type": 1,
"repeat_interval": 1,
"end_date_time": "2020-01-22T06:59:00Z"
}
}
Let me know if that helps!
Thanks,
Tommy