Google Calendar Webhook
This page contains the various webhook paths to perform management functions on Google Calendar
Get calendar-list/
calendar-list/
Get a list of calendars associated with the Google Account integrated with the given MindX account. Returns a list of calendars.
Headers:
Returns:
POST events/list/
events/list/
Get a list of events scheduled during the given time. date_start
and date_end
can should be an ISO formatted datetime string, for example, 2023-03-28T01:25:48.232Z
; but it can also accepts fuzzy date/time sentences and will try its best to figure out.
For example, setting date_start
as next Tuesday at 5PM
should correctly convert it to the date and time for next Tuesday at 5PM.
Note that it only accepts day of the week. It does NOT accept relative days such as today
or tomorrow
.
Returns a list of CalendarEvent
Object that fits the query parameters.
Headers:
Requests:
date_start
☑
String of the starting date for the event query.
date_end
☐
String of the end date for the event query. Defaults to one hour after date_start
time.
time_zone
☐
Timezone in UTC+07
format to be used for the return values. Defaults to UTC
.
calendar
☑
Google Calendar ID to query events from.
Examples:
Returns:
POST events/delete/
events/delete/
Delete the given event from the given calendar. Can be set to notify all attendees. Return success status.
Headers:
Requests:
calendar
☑
Calendar ID for the event.
event_id
☑
Event ID to be deleted.
notify
☐
Whether to notify all attendees of the deletion.
Examples:
Returns:
POST events/new/
events/new/
Create a new calendar event for the given calendar with the details in the payload.
Headers:
Requests:
calendar
☑
Calendar ID for the event.
summary
☑
Event summary / Title
description
☐
Description for the event.
date_start
☑
Starting date/time for the event
date_end
☐
Ending date/time for the event. Defaults to 1 hour after starting time.
time_zone
☐
Timezone of the times to be given as the return values. Defaults to UTC
Examples:
Returns:
POST events/attendees/
events/attendees/
Add new attendees to the event.
Headers:
Requests:
calendar
☑
Calendar ID for the event.
event_id
☑
ID for the event to add attendees to.
emails
☐
A list of emails to be added to the event.
Examples:
Returns:
POST events/details/
events/details/
Get the details for the event ID.
Headers:
Requests:
calendar
☑
Calendar ID for the event.
event_id
☑
ID for the event to add attendees to.
Examples:
Returns:
POST events/time/
events/time/
Change the time of the event.
Headers:
Requests:
calendar
☑
Calendar ID for the event.
event_id
☑
ID for the event to add attendees to.
date_start
☑
Starting date/time for the event
date_end
☐
Ending date/time for the event. Defaults to 1 hour after starting time.
time_zone
☐
Timezone of the times to be given as the return values. Defaults to UTC
Examples:
Returns:
POST events/freebusy/
events/freebusy/
Given the time range, returns whether the owner of the calendar is free or not.
Headers:
Requests:
calendar
☑
Calendar ID for the event.
date_start
☑
Starting date/time for the event
date_end
☐
Ending date/time for the event. Defaults to 1 hour after starting time.
time_zone
☐
Timezone of the times to be given as the return values. Defaults to UTC
Examples:
Returns:
Last updated