Skip to main content
Enable your users to connect their calendars to meetergo for automatic availability detection and event syncing.

Why Calendar Connection?

Connected calendars enable:
  • Conflict detection - Automatically block times when users have other events
  • Event creation - Create calendar events when bookings are made
  • Two-way sync - Keep meetergo and external calendars in sync

Supported Providers

Quick Start

Connecting a user’s calendar is a simple 3-step OAuth flow:
1

Get OAuth URL

Call the API to get the provider’s authorization URL
2

Redirect User

Send the user to Google/Microsoft to authorize access
3

Handle Callback

meetergo handles the OAuth callback and redirects to your redirectUrl with the result

Implementation

Step 1: Get OAuth Authorization URL

Step 2: Handle the Callback

After the user authorizes access, they’ll be redirected to your redirectUrl with query parameters: Success:
Error:

API Reference

Get OAuth URL

Headers: Response:

List Calendar Connections

Get all calendar connections for a user:
Response:

Get Connection Calendars

Retrieve available calendars for a connection. Use this to let users choose which calendar to write events to and which to check for availability:
Response:

Update Calendar Connection

Update settings for a connection such as which calendar to create events in, which calendars to check for availability, and notification preferences:
Request body (all fields optional):

Delete Calendar Connection

Set Primary Calendar Connection

Set which calendar connection should be used for creating new events:

Building Your Own UI

Here’s a complete React example for a calendar settings page:
For a better UX, open OAuth in a popup window instead of redirecting:
callback page (calendar-callback.html):

Error Handling

Best Practices

Explain the benefits - Tell users why connecting their calendar improves their experience
Handle errors gracefully - OAuth can fail; show helpful messages and retry options
Show connection status - Let users see which calendars are connected and manage them
Use popup flow - Better UX than full-page redirect, keeps user context
Never expose API keys in frontend code - Make API calls from your backend, not the browser
Validate redirect URLs - Only allow redirects to your own domain

Next Steps

Availability

Configure user availability schedules

Calendar Sync Recipe

Sync bookings to external calendars via webhooks

Webhooks

Get notified when bookings are created or changed

API Reference

Full API documentation