How to setup a zoom meeting from Google Apps script?

Hey @alex3,

The easiest way to start is to use a JWT Token, here is how to generate one:

Then to create a meeting, call the Create Meeting API, use the following Google App Scripts code:

var response = UrlFetchApp.fetch("https://api.zoom.us/v2/users/me/meetings", {
  'method' : 'post',
  'contentType': 'application/json',
  'payload' : JSON.stringify({
    'topic': 'Title of Meeting',
    'type': 2,
    'start_time': '2020-01-03T12:00:00Z',
    'duration': 30
  }),
  'headers': {
   'Authorization': 'Bearer JWT_TOKEN_HERE'
  }
});
Logger.log(response.getContentText());

Logger.log(response.getContentText()); will return a JSON body with the Zoom meeting link, which you can insert into the Google Calendar Event.

Let me know if that helps!

Thanks,
Tommy