Skip to main content
Mutation

connectExternalCalendar

Connects a read-only HTTPS or webcal iCalendar feed, including Google or Outlook published links. Verifies the feed before saving. Maximum 20 connections per scope. Requires space ADMIN or project SCHEDULE:EDIT; personal connections belong to the session user.

Arguments

  • colorString!

    Schedule palette key: blue, emerald, amber, rose, violet, cyan, orange or slate.

  • nameString!

    Display name, from 1 to 120 characters.

  • The scope whose calendars to manage.

  • urlString!

    HTTPS or webcal subscription URL. Kept encrypted and never returned.

Returns

ExternalCalendarConnection!

Example

mutation ConnectExternalCalendar($color: String!, $name: String!, $target: ExternalCalendarTargetInput!, $url: String!) {
  connectExternalCalendar(color: $color, name: $name, target: $target, url: $url) {
    color
    errorCode
    id
    name
    provider
    scope
    syncedAt
  }
}