Description
POSTing a request using an email address to create a meeting does create the meeting, but the meetings don’t show up on calendars or in the Zoom app or client. If I’m the host, the co-host gets an email invite, but if I’m the co-host, I do not.
We can join the meetings, and they are being recorded.
Error
No error message, but meeting not showing up on any calendars. See screenshot below of alternate host invite.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
/v2/users/{email}/meetings
How To Reproduce (If applicable)
Steps to reproduce the behavior:
const createZoomMeeting = () => {
const meetingOptions = {
topic: 'Zoom Meeting created with Google Script',
type: 1,
start_time: '2021-09-23T17:10:00',
duration: 30,
timezone: 'America/Chicago',
schedule_for: ZOOM_EMAIL,
password: 'sample',
agenda: 'Discuss the product launch',
settings: {
auto_recording: 'cloud',
mute_upon_entry: true,
participant_video: false,
alternative_hosts: ALT_HOST,
},
};
const call_uri = "https://api.zoom.us/v2/users/" + ZOOM_EMAIL + "/meetings";
const request = UrlFetchApp.fetch(
call_uri,
{
method: 'POST',
contentType: 'application/json',
headers: { Authorization: `Bearer ${getZoomAccessToken()}` },
payload: JSON.stringify(meetingOptions),
}
);
const { join_url, id } = JSON.parse(request.getContentText());
Logger.log(`Zoom meeting ${id} created`, join_url);
Logger.log('join url: %s',join_url);
};
Screenshots (If applicable)