> ## Documentation Index
> Fetch the complete documentation index at: https://docs.signa.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Download Portfolio Calendar

> Download computed deadlines as an iCalendar file

<Snippet file="portfolios/access.mdx" />

See [portfolio limits and references](/guides/portfolios) for current caps and
`external_ref` semantics.

## Overview

Returns a one-time RFC 5545 calendar file with `Content-Type: text/calendar` and
`Content-Disposition: attachment`. Download it using your bearer API key, then
import the file into your calendar application. **This is not a subscribable
calendar URL**: the endpoint requires an Authorization header. Importing the file
does not keep it synchronized with later changes.

## Query Parameters

Optional `reminder_days` is a comma-separated list of offsets, each from 1 to 3,650
days. The default is `90,30,7`. These become alarms inside the downloaded file;
Signa does not send calendar reminders from this endpoint.

## Code Example

```bash theme={null}
curl "https://api.signa.so/v1/portfolios/$PORTFOLIO_ID/deadlines.ics" \
  -H "Authorization: Bearer $SIGNA_API_KEY" \
  --output portfolio-deadlines.ics
```

## Errors

More than **5,000 marks in this portfolio** returns 422 `portfolio_too_large`,
just like the [JSON deadlines list](/api-reference/portfolios/deadlines). Split the
portfolio into smaller folders; switching formats does not bypass the limit.
