Skip to content

Send invites with google calendar API

I have a Java Spring API where I want to integrate Google Calendar.

The task:

  • Basically creating an event for two attendees (users) and send them an invite with the option to accept/decline (standard GCalendar invite)

I tried this example here:

But I think this is not the right one since I authenticate as a user – or do I need this to send them invites via email?

Can anyone point me in the right direction?



Try setting the notification to true.


  • Whether to send notifications about the creation of the new event. Optional. The default is False.

In the Try this API (Events: insert):

enter image description here

I’m not very familiar with java but try using this code as suggested in a related SO post.

Event createdEvent ="", event).setSendNotifications(true).execute();

Hope this helps.

10 People found this is helpful