---
title: "Process initial calendar sync"
method: POST
path: "/calendar-initial-sync"
---

# Process initial calendar sync

`POST /calendar-initial-sync`

This endpoint processes the initial calendar sync based on the provided payload.

## Request body

- object
  - `data` object
    - `userId` string
    - `connectionId` string
    - `tenantId` number
    - `connectionType` 'google-calendar' | 'microsoft-outlook'

## Response `200`

Calendar sync is successful

- object
  - `message` string

## Other responses

- `400` — Error occurred while processing the calendar sync

---

[API](https://skmtc.net/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.net/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/versions/40a7125e0355/schema)
