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
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Title of the event |
start_date_time | string | Yes | Start date and time in RFC3339 format (e.g., 2024-01-15T10:00:00-05:00) |
end_date_time | string | Yes | End date and time in RFC3339 format (e.g., 2024-01-15T11:00:00-05:00) |
calendar_id | string | No | Calendar ID to add the event to (defaults to 'primary' for the user's main calendar) |
description | string | No | Description or notes for the event |
location | string | No | Location of the event |
time_zone | string | No | Time zone for the event (e.g., America/New_York) |
attendees | array | No | List 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
| Parameter | Type | Required | Description |
|---|---|---|---|
calendar_id | string | Yes | Calendar ID to check (use 'primary' for the user's main calendar) |
start_date_time | string | Yes | Start date and time in RFC3339 format |
end_date_time | string | Yes | End date and time in RFC3339 format |
time_zone | string | No | Time 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
| Parameter | Type | Required | Description |
|---|---|---|---|
calendar_id | string | No | Calendar ID to remove the event from (defaults to 'primary') |
title | string | Yes | Title of the event to delete |
multiple_mode | string | No | How to handle multiple matching events: 'first' (delete only the first match) or 'all' (delete all matches) |
send_updates | string | No | Whether to send update notifications: 'all', 'externalOnly', or 'none' |
Response
{
"deleted_event_ids": [
"event123"
]
}