---
title: "Sync Customer Calendar Events"
method: POST
path: "/developer/calendar-sync/customer"
tags: ["Developer", "Developer - Calendar"]
---

# Sync Customer Calendar Events

`POST /developer/calendar-sync/customer`

Sync all calendar events for all users in the current customer.

This endpoint is restricted to developer users only.

**WARNING**: This is a blocking operation that will run synchronously and may take
several seconds to complete. It fetches events from all calendars for all users
in the customer. In production, this should be run as a Celery task.

This endpoint is provided for development/debugging purposes.

Returns:
- Summary of the sync operation including number of users, calendars, and events processed

## Response `200`

Successful Response

- CustomerCalendarSyncResponse — Response for customer calendar sync operation
  - `customer_id` string, uuid, required — The customer ID
  - `users_total` integer, required — Total number of users
  - `users_processed` integer, required — Number of users processed
  - `calendars_total` integer, required — Total number of calendars
  - `calendars_refreshed` integer, required — Number of calendars refreshed
  - `total_events` integer, required — Total number of events saved
  - `errors` string[] — List of errors encountered

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
