How to generate an event invite link using Google Calendar API? - Stack Overflow

admin2025-05-02  0

I’m working with the Google Calendar API and have successfully created events via the API, including adding attendees. My Google account is the organizer of the event.

On the Google Calendar web interface, I can generate an invite link for the event and share it with others. However, I want to achieve the same functionality programmatically using the Google Calendar API instead of manually using the web interface.

Does the Google Calendar API provide a way to generate this invite link? If so, how can I access or create it?

I’m working with the Google Calendar API and have successfully created events via the API, including adding attendees. My Google account is the organizer of the event.

On the Google Calendar web interface, I can generate an invite link for the event and share it with others. However, I want to achieve the same functionality programmatically using the Google Calendar API instead of manually using the web interface.

Does the Google Calendar API provide a way to generate this invite link? If so, how can I access or create it?

Share Improve this question asked Jan 2 at 3:56 hunglt.eehunglt.ee 339 bronze badges 9
  • Stackoverflow is not for free coding service. You have to show us the things that you have tried. – 4thAnd1 Commented Jan 2 at 4:35
  • The issue is finding a Google API that provides this functionality, not about the code itself. – hunglt.ee Commented Jan 2 at 6:45
  • Could this what you're looking for? – 4thAnd1 Commented Jan 2 at 7:15
  • @4thAnd1 No, this method does not involve inviting users to a specific event_id. Instead, it creates an event directly on their calendar. – hunglt.ee Commented Jan 2 at 7:19
  • 1 After considering all the details you have provided and after doing some research seems like what you are trying to do is not currently possible. You may however file a feature request here – 4thAnd1 Commented Jan 6 at 5:49
 |  Show 4 more comments

1 Answer 1

Reset to default 0

Please see the following:

https://developers.google.com/calendar/api/v3/reference/events/insert

I'm not sure which language you're using, but you can get the link from the htmlLink object.

转载请注明原文地址:http://anycun.com/QandA/1746135398a92061.html