Lodol Docs

Google Calendar

API actions for the Google Calendar integration.

Google Calendar

Create and manage events on Google Calendar.


Add event

Create a new event on a Google Calendar.

Parameters

ParameterTypeRequiredDescription
titlestringYesTitle of the event
start_date_timestringYesStart date and time in RFC3339 format (e.g., 2024-01-15T10:00:00-05:00)
end_date_timestringYesEnd date and time in RFC3339 format (e.g., 2024-01-15T11:00:00-05:00)
calendar_idstringNoCalendar ID to add the event to (defaults to 'primary' for the user's main calendar)
descriptionstringNoDescription or notes for the event
locationstringNoLocation of the event
time_zonestringNoTime zone for the event (e.g., America/New_York)
attendeesarrayNoList of attendee email addresses

Response

{
  "event_id": "abc123xyz",
  "html_link": "https://calendar.google.com/calendar/event?eid=abc123xyz"
}

Check timeslot availability

Check if a time slot is available on a Google Calendar.

Parameters

ParameterTypeRequiredDescription
calendar_idstringYesCalendar ID to check (use 'primary' for the user's main calendar)
start_date_timestringYesStart date and time in RFC3339 format
end_date_timestringYesEnd date and time in RFC3339 format
time_zonestringNoTime zone for the query (e.g., America/New_York)

Response

{
  "busy": [],
  "busy_summary": "None",
  "is_available": true
}

Remove event

Delete a calendar event by its title.

Parameters

ParameterTypeRequiredDescription
calendar_idstringNoCalendar ID to remove the event from (defaults to 'primary')
titlestringYesTitle of the event to delete
multiple_modestringNoHow to handle multiple matching events: 'first' (delete only the first match) or 'all' (delete all matches)
send_updatesstringNoWhether to send update notifications: 'all', 'externalOnly', or 'none'

Response

{
  "deleted_event_ids": [
    "event123"
  ]
}

On this page