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_timestringYesWhen the event starts (for example, 2024-01-15T10:00:00-05:00)
end_date_timestringYesWhen the event ends (for example, 2024-01-15T11:00:00-05:00)
calendar_idstringNoThe calendar to add the event to. Leave blank to use your main calendar ('primary')
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 time slot availability

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

Parameters

ParameterTypeRequiredDescription
calendar_idstringYesThe calendar to check (use 'primary' for your main calendar)
start_date_timestringYesWhen the time slot starts (for example, 2024-01-15T10:00:00-05:00)
end_date_timestringYesWhen the time slot ends (for example, 2024-01-15T11:00:00-05:00)
time_zonestringNoTime zone for the check (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_idstringNoThe calendar to remove the event from. Leave blank to use your main calendar ('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 notify guests about the change: 'all', 'externalOnly', or 'none'

Response

{
  "deleted_event_ids": [
    "event123"
  ]
}

On this page