# Is a calendar default only if it was created automatically?

**URL:** https://support.stalw.art/t/is-a-calendar-default-only-if-it-was-created-automatically/2026
**Category:** Questions
**Created:** [October 25, 2026, 5:22pm UTC](https://support.stalw.art/t/is-a-calendar-default-only-if-it-was-created-automatically/2026 "2026-10-25T17:22:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![giorno](https://support.stalw.art/letter_avatar_proxy/v4/letter/g/c37758/32.png) [@giorno](https://support.stalw.art/u/giorno)
#### Post date: [October 25, 2026, 5:22pm UTC](https://support.stalw.art/t/is-a-calendar-default-only-if-it-was-created-automatically/2026/1 "2026-10-25T17:22:09Z")

</div>

### Your question

1. What does it mean for calendar to be default? That it was created automatically? Or does it have any meaning in CalDAV and is somehow communicated to a client, e.g. to be the default place to create new events?  

2. There is no toggle switch to set the “Default” property manually which supports the “automatically created” theory. Correct?

### I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

---

<div class="post-metadata">

### Author: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [October 25, 2026, 5:22pm UTC](https://support.stalw.art/t/is-a-calendar-default-only-if-it-was-created-automatically/2026/2 "2026-10-25T17:22:40Z")

</div>

Based on the source, “default” is a real, meaningful property (`isDefault` in JMAP, exposed in CalDAV as well), not just a marker for auto-created calendars.

1. **What “default” means** : Stalwart stores a per-account `DefaultCalendarId` on the account’s principal record. Whichever calendar matches that ID is reported as `isDefault: true` to clients. It’s used both as the “landing” calendar auto-created on first access (via `defaultHrefName`/`defaultDisplayName` settings) _and_ as a genuine marker: if no default is explicitly set, the server falls back to whichever calendar has the lowest ID, so there’s always exactly one calendar flagged as default. Clients (CalDAV/JMAP) can use this flag to decide where new events go by default.

2. **No manual toggle in the current WebUI** - correct, there’s no switch in the calendar settings page to flip “Default” on. However, it isn’t purely “automatically created only”: the JMAP `Calendar/set` method supports an `onSuccessSetIsDefault` argument that lets a client (or `stalwart-cli`) explicitly designate any existing calendar as the account’s default, independent of which one was auto-created. So “default” can change, it’s just not exposed as a WebUI toggle yet, only via the JMAP API.

Reference: [Calendar | Stalwart](https://stalw.art/docs/collaboration/calendar#default-calendar) and [Calendar | Stalwart](https://stalw.art/docs/ref/object/calendar)

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [October 27, 2026, 5:02pm UTC](https://support.stalw.art/t/is-a-calendar-default-only-if-it-was-created-automatically/2026/3 "2026-10-27T17:02:21Z")

</div>

It isn’t about how the calendar was created. Each account has exactly one default calendar, and it’s the one incoming invitations are added to; JMAP clients see it through `isDefault` and normally put new events there. Stalwart creates a calendar automatically the first time an account is accessed without one, and that calendar becomes the default because it’s the first one, which is why the two look linked.

On 2: yes, the web UI only displays it. It’s a read-only property, and you change it from a JMAP client with the `onSuccessSetIsDefault` argument of `Calendar/set`. Details are here: [Calendar | Stalwart](https://stalw.art/docs/collaboration/calendar#choosing-the-default-calendar)

CalDAV clients get a `schedule-default-calendar-URL` on the scheduling inbox, which points to the automatically created calendar (`defaultHrefName`, `default` unless you changed it). Whether a client uses it to pick where new events go depends on the client.
