I want to create Java Spring application using google meet api where I'll generate a meeting link using which two people could join. Basically, it's like creating an event for two attendees (user could be of any domain) and send them meeting link using which they can join at some scheduled time using google hangout.
I tried this example here: https://developers.google.com/calendar/v3/reference/events#resource
But I think this is not the right one since want to generate meeting invite link where two random users can join using a link and in their response there's a hangout link which can only be used by domain users.
Also, in this link, it is mentioned that we can generate meeting URLs with no API calls but then guests who aren't part of my domain won't be able to join and I wanted to have an independent meeting link.
Can someone please point me in the right direction?