---
title: "Refresh Calendar Events"
method: POST
path: "/calendars/{calendar_id}/refresh"
tags: ["Calendar"]
---

# Refresh Calendar Events

`POST /calendars/{calendar_id}/refresh`

Refresh calendar events by fetching from the provider and saving to the database.

This endpoint:
1. Fetches events from the calendar provider for the next 2 months
2. Deletes existing event records for this calendar
3. Saves the newly fetched events to the database

- **calendar_id**: The ID of the calendar to refresh (path parameter)

Returns:
    Dictionary with the number of events refreshed

## Path parameters

- `calendar_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[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)
