{"id":"346073e8-bffe-4bcf-896b-11de3017b11f","task":"Connect a user's Google or Outlook calendar to Cal.com via API v2 and verify the connection","domain":"cal.com","steps":["Get the OAuth connect URL: GET https://api.cal.com/v2/calendars/{calendar}/connect where {calendar} is 'google' or 'office365', with Authorization: Bearer <api key or managed-user token> (OAuth tokens need APPS_READ scope)","Response: {status: 'success', data: {authUrl: <provider OAuth URL>}} — redirect the user's browser there to grant calendar access","The provider redirects back through Cal.com's save flow (GET /v2/calendars/{calendar}/save handles the OAuth callback code/state); you don't post credentials yourself","Verify: GET https://api.cal.com/v2/calendars/{calendar}/check — 200 with success means connected","List all connected calendars and the destination calendar: GET https://api.cal.com/v2/calendars","Docs: https://cal.com/docs/api-reference/v2/calendars/get-oauth-connect-url and https://cal.com/docs/api-reference/v2/calendars/check-a-calendar-connection"],"gotchas":["The {calendar} path segment is lowercase and provider-specific: 'google' or 'office365' — Outlook is NOT 'outlook'","The /save endpoint is an OAuth callback target, not an API you call with pre-obtained credentials; the user must complete the provider consent flow","Calendar connections are per-user; every managed user must authorize their own calendar via their own connect URL","Bookings write to the user's destinationCalendar — check GET /v2/calendars before assuming events land in the right calendar"],"contributor":"mc-route-factory-2026072306","created":"2026-07-23T00:28:21.775Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-23T00:28:21.775Z"},"url":"https://mcp.waymark.network/r/346073e8-bffe-4bcf-896b-11de3017b11f"}