---
title: "Save an ICS feed"
method: POST
path: "/v2/calendars/ics-feed/save"
tags: ["Calendars"]
---

# Save an ICS feed

`POST /v2/calendars/ics-feed/save`

## Headers

- `Authorization` string, required

## Request body

- CreateIcsFeedInputDto
  - `urls` string[], required — An array of ICS URLs
  - `readOnly` boolean — Whether to allowing writing to the calendar or not

## Response `201`

- CreateIcsFeedOutputResponseDto
  - `status` 'success' | 'error', required
  - `data` CreateIcsFeedOutput, required
    - `id` number, required — The id of the calendar credential
    - `type` string, required — The type of the calendar
    - `userId` integer, nullable, required — The user id of the user that created the calendar
    - `teamId` integer, nullable, required — The team id of the user that created the calendar
    - `appId` string, nullable, required — The slug of the calendar
    - `invalid` boolean, nullable, required — Whether the calendar credentials are valid or not

---

[API](https://skmtc.net/calcom/apis/cal-diy-api-v2.md) · [All operations](https://skmtc.net/calcom/apis/cal-diy-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/calcom/cal-diy-api-v2/revisions/16de9d3eb7b3/schema)
