Skip to main content
Mutation

createCalendar

Creates a schedule calendar in a project. Requires edit access to the project. Returns the new calendar's ID.

Arguments

  • colorString

    Color of the calendar: blue, emerald, amber, rose, violet, cyan, orange or slate. Omit for no color.

  • nameString!

    Name of the calendar (1 to 120 characters).

  • projectIdID!

    ID of the project.

Returns

ScheduleMutationResult!

Example

mutation CreateCalendar($color: String, $name: String!, $projectId: ID!) {
  createCalendar(color: $color, name: $name, projectId: $projectId) {
    id
  }
}