Skip to main content
Shares one of the user’s calendars with a person and returns a secret link that person adds in Google Calendar, Apple Calendar or Outlook. The calendar stays live behind the link: each time the person’s app refreshes, it reads the calendar as it is now. How often that happens is up to their app, not Langmail; Google Calendar picks up changes every few hours, sometimes only once a day. The link is in this tool’s result and nowhere else: Langmail keeps only a hash of it, so it cannot be shown again. If it is lost, stop the share with stop_sharing_calendar and share again for a new link. Langmail does not send the link to anyone; to email it, stage a draft with create_draft. There is one share per calendar and person. Sharing the same calendar with the same person again changes the level and keeps their existing link working.

Parameters

string
required
The calendar to share: its name, matched ignoring case, or the CalDAV URL list_calendars returns. Use the URL when two calendars share a name.
string
required
Who the calendar is shared with, as the user names them: "Sam", "my partner". 1–100 characters. A label only, matched ignoring case when the same calendar is shared again.
string
required
busy: the person sees only when the user is busy, every event titled “Busy”. full: titles, times, locations, notes and guests. Private events show as busy at either level, and free events are left out of a busy-only share.

Example

Call
Result
Sharing again at the other level answers "Personal" is now shared with Sam at full details (was busy times only) and that Sam’s existing link keeps working, without a new link.

Errors

Every error leaves the shares unchanged.
  • No calendar named "…" or No calendar at … — nothing matched. The error lists every calendar with its URL.
  • 2 calendars are named "…" — pass the URL of the one you mean.
  • Calendar sharing is not set up on this server.