Calendar

Sync User Google Calendars

Sync Google calendars for a user.

Fetches all calendars from the specified user's Google account and:

  1. Creates/updates GoogleCalendar records in the database
  2. Creates/updates corresponding Calendar records
  3. Deletes calendars that no longer exist in Google
  • user_id: Optional user ID to sync calendars for. If not provided, syncs current user's calendars.

Returns the list of synced calendars.

post/calendars/google-calendars/sync

Request

  • Base URL: https://api.openintake.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.openintake.ai/calendars/google-calendars/sync
  • Auth: none declared

Query parameters

user_idstring uuid nullable

Optional user ID to sync calendars for. If not provided, syncs current user's calendars.

Response

Successful Response

messagestring required
synced_countinteger required

Changes

No recorded changes to this operation across all 57 revisions of this API.