---
title: "Create a calendar feed"
method: POST
path: "/calendar-feed/project/{projectId}"
tags: ["Calendar feeds"]
---

# Create a calendar feed

`POST /calendar-feed/project/{projectId}`

## Request

- Base URL: `https://cloud.kaneo.app/api`
- URL: `https://cloud.kaneo.app/api/calendar-feed/project/{projectId}`
- Auth: HTTP bearer

Create a calendar subscription matching any selected label, or all project tasks when no labels are selected. Tasks need a start or due date. All-day dates use the supplied time zone. Creating a missing workspace label definition also requires label:create permission.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `labelIds` string[]: Match any selected label. Omit or leave empty to include all scheduled project tasks.
  - `timeZone` string

## Response `201`

Calendar feed created

- CalendarFeed
  - `id` string, required
  - `projectId` string, required
  - `token` string, required
  - `labelIds` string[], required
  - `timeZone` string, required
  - `createdAt` string, date-time, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: No access to the project, missing project:share permission, or missing label:create permission for a new workspace label definition
- `404`: Project not found
- `429`: The API key exceeded its rate limit or usage quota. Wait the number of seconds in Retry-After before retrying. The X-RateLimit headers are sent only when the rate limit was hit.

## Changes

- **2026-10-09** `c9984766c765`: 1 info
  - added the non-success response with the status `404`
- **2026-10-08** `c7b8a842601b`: 4 breaking, 4 info
  - removed the media type `text/plain` for the response with the status `400`
  - removed the media type `text/plain` for the response with the status `401`
  - removed the media type `text/plain` for the response with the status `403`
  - removed the media type `text/plain` for the response with the status `429`
  - …4 more
- **2026-10-08** `2ed51b8af657`: 3 breaking, 4 info
  - removed the media type `application/json` for the response with the status `400`
  - removed the media type `application/json` for the response with the status `401`
  - removed the media type `application/json` for the response with the status `403`
  - added the media type `text/plain` for the response with the status `400`
  - …3 more
- **2026-10-07** `df1439c724ee`: 3 breaking, 3 info
  - removed the media type `text/plain` for the response with the status `400`
  - removed the media type `text/plain` for the response with the status `401`
  - removed the media type `text/plain` for the response with the status `403`
  - added the media type `application/json` for the response with the status `400`
  - …2 more
- **2026-10-07** `fcc0afc47120`: 2 info
  - the request property `labelIds` became optional
  - the `labelIds` request property default value `` was added

[Operation history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/calendar-feed/project/:projectId/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) - [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usekaneo/apis/kaneo-api/revisions/93f78789100c?raw)
