π Quickstart
Connect to Google Calendar with Nango and see data flow in 2 minutes.Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Google Calendar.
Nango has credentials you can use for testing. Activate them in the dashboard.
Authorize Google Calendar
Go to Connections -> Add Test Connection -> Authorize, then log in to Google Calendar. Later, youβll let your users do the same directly from your app.
Call the Google Calendar API
Letβs make your first request to the Google Calendar API (fetch a list of calendars). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials dynamically via the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
π Google Calendar Integration Guides
Nango maintained guides for common use cases.-
How to register your own Google Calendar OAuth app
Register an OAuth app with Google Calendar and obtain credentials to connect it to Nango -
How to setup webhooks with Google Calendar on Nango
Set up Google Calendar push notifications using notification channels to receive real-time calendar and event updates
π§© Pre-built syncs & actions for Google Calendar
Enable them in your dashboard. Extend and customize to fit your needs.ACL
| Function name | Description | Type | Source code |
|---|---|---|---|
delete-acl-rule | Delete an access control rule from a calendar | Action | π Github |
get-acl-rule | Get an access control rule by ID | Action | π Github |
list-acl-rules | List ACL rules for a calendar with pagination support | Action | π Github |
update-acl-rule | Update an access control rule | Action | π Github |
Calendar
| Function name | Description | Type | Source code |
|---|---|---|---|
create-acl-rule | Create an access control rule | Action | π Github |
find-free-slots | Query free/busy data and return gaps meeting a minimum duration | Action | π Github |
get-colors | Return available calendar and event color definitions | Action | π Github |
Calendar List
| Function name | Description | Type | Source code |
|---|---|---|---|
insert-calendar-to-list | Add an existing calendar to the userβs calendar list with optional colors | Action | π Github |
CalendarList
| Function name | Description | Type | Source code |
|---|---|---|---|
watch-calendar-list | Subscribe to changes in the calendar list | Action | π Github |
calendar-list | Full sync of the userβs calendar list, including access role, colors, primary/selected flags, and deleted status. | Sync | π Github |
Calendars
| Function name | Description | Type | Source code |
|---|---|---|---|
clear-calendar | Clear a calendar by deleting all events | Action | π Github |
create-calendar | Create a new secondary Google Calendar with the specified title. | Action | π Github |
delete-calendar | Delete a secondary calendar | Action | π Github |
get-calendar-list-entry | Retrieve a calendar list entry with access role and colors | Action | π Github |
get-calendar | Get a calendar by ID | Action | π Github |
list-calendar-list | List calendars in the userβs calendar list | Action | π Github |
query-free-busy | Return free/busy blocks for one or more calendars in a time range | Action | π Github |
remove-calendar-from-list | Remove a calendar from the userβs calendar list | Action | π Github |
update-calendar-list-entry | Update a calendar list entryβs settings | Action | π Github |
update-calendar | Update a calendarβs metadata | Action | π Github |
Channels
| Function name | Description | Type | Source code |
|---|---|---|---|
stop-channel | Stop push notifications for a channel | Action | π Github |
Events
| Function name | Description | Type | Source code |
|---|---|---|---|
add-attendee | Add an attendee to an existing calendar event | Action | π Github |
create-all-day-event | Create an all-day calendar event using start and end dates | Action | π Github |
create-event | Create a calendar event | Action | π Github |
create-recurring-event | Create a recurring event with supplied start, end, and RRULE values | Action | π Github |
delete-event | Delete a calendar event | Action | π Github |
get-event | Get an event by ID from Google Calendar | Action | π Github |
import-event | Import an event as a private copy using an iCalendar UID | Action | π Github |
list-event-instances | List instances of a recurring event | Action | π Github |
list-events | List events on a calendar | Action | π Github |
list-upcoming-events | List upcoming events from now, ordered by start time | Action | π Github |
move-event | Move an event to another calendar, changing its organizer | Action | π Github |
patch-event | Partially update only provided event fields like time, location, or description | Action | π Github |
quick-add-event | Create an event from a text string | Action | π Github |
remove-attendee | Fetch an event, remove an attendee by email, and patch attendees | Action | π Github |
search-events | Search a calendarβs events by text query and optional time bounds | Action | π Github |
update-attendee-response | Fetch an event and update one attendee response status | Action | π Github |
update-event | Update a calendar event | Action | π Github |
watch-events | Subscribe to event changes on a calendar | Action | π Github |
Settings
| Function name | Description | Type | Source code |
|---|---|---|---|
get-setting | Retrieve a single Google Calendar user setting by ID | Action | π Github |
list-settings | List calendar settings | Action | π Github |
settings | Fetch all user settings across pages from Google Calendar | Action | π Github |
watch-settings | Subscribe to changes in calendar settings | Action | π Github |
settings | Sync calendar settings | Sync | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
whoami | Return the current userβs Google account ID and email | Action | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
calendar-events | Incrementally sync full Google Calendar event objects, defaulting to the primary calendar with an initial one-month lookback | Sync | π Github |