Calendar
Sync User Microsoft365 Calendars
Sync Microsoft 365 calendars for a user.
Fetches all calendars from the specified user's Microsoft 365 account and:
- Creates/updates Microsoft365Calendar records in the database
- Creates/updates corresponding Calendar records
- Deletes calendars that no longer exist in Microsoft 365
- 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/microsoft365-calendars/sync
Query parameters
user_idstring uuid nullable
Optional user ID to sync calendars for. If not provided, syncs current user's calendars.
Optional user ID to sync calendars for. If not provided, syncs current user's calendars.
Response
Successful Response