Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attendees being able to join Meet without permission. Google Calendar API

I Am using the Google Calender API to generate a Google Meet link, my problem is that the attendees need the host permission to access the Meet, I tried setting them as organizers but it doesnt seems to do anything, is there any parameter or something I can add so they can join whenever they want without needing permission?

const event = {
          summary: "Meet",
          description: `meeting `,
          start: {
            dateTime: startingTime,
          },
          end: {
            dateTime: endingTime,
          },
          conferenceData: {
            createRequest: {
                requestId: random,
                conferenceSolutionKey: { type: "hangoutsMeet" },
            },
        },
        params: {
          sendNotifications: true
          },
          
          attendees: [
            {
              email: EmailOne,
            organizer: true},
            { email: EmailTwo,
            organizer: true},
          ],
        };
  
        const response = calendar.events.insert({
              calendarId: calendarId,
              resource: event,
              conferenceDataVersion: 1
          });

Thank you in advance

like image 271
chris Avatar asked Dec 14 '25 22:12

chris


1 Answers

Unfortunately currently guests cannot join without permission Google Meets created programmatically

  • By default the event creator is the only organizer
  • An event cannot have more than one organizer
  • organizeris a read-only property, you cannot modify it
  • The problem you encounter is that when creating events programmatically the event invitees do not automatically become Google Meet invitees and thus, are not allowed to join without approval. A feature request to change this behavior has already been filed on Google's Issue Tracker
  • What you probably actually want to do when trying to set guests to event organizers is to make them Co-Hosts
  • Unfortunately, this is currently not possible via API neither, but has also already been requested
  • As of now, all you can do is to "star" the respective feture requests to increase visibility and hopefully accelerate implementation
like image 89
ziganotschka Avatar answered Dec 16 '25 23:12

ziganotschka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!