Skip to main content

MutationCreateEventInput

input MutationCreateEventInput {
allDay: Boolean
attachments: [FileMetadataInput!]
description: String
endAt: DateTime
endDate: String
isInviteOnly: Boolean
isPublic: Boolean
isRegisterable: Boolean
location: String
name: String!
organizationId: ID!
recurrence: RecurrenceInput
startAt: DateTime
startDate: String
}

Fields

MutationCreateEventInput.allDay ● Boolean scalar

If true, the event spans the entire day and uses startDate/endDate. If false (default), uses startAt/endAt UTC timestamps.

MutationCreateEventInput.attachments ● [FileMetadataInput!] list input

Attachments of the event.

MutationCreateEventInput.description ● String scalar

Custom information about the event.

MutationCreateEventInput.endAt ● DateTime scalar

UTC timestamp at the time the timed event ends. Required when allDay is false.

MutationCreateEventInput.endDate ● String scalar

Exclusive end date for all-day events (YYYY-MM-DD). Required when allDay is true. e.g. March 1 → March 2 is a one-day event.

MutationCreateEventInput.isInviteOnly ● Boolean scalar

Indicates if the event is invite-only

MutationCreateEventInput.isPublic ● Boolean scalar

Indicates if the event is publicly visible

MutationCreateEventInput.isRegisterable ● Boolean scalar

Indicates if users can register for this event

MutationCreateEventInput.location ● String scalar

Physical or virtual location of the event

MutationCreateEventInput.name ● String! non-null scalar

Name of the event.

MutationCreateEventInput.organizationId ● ID! non-null scalar

Global identifier of the associated organization.

MutationCreateEventInput.recurrence ● RecurrenceInput input

Recurrence pattern for the event. If provided, creates a recurring event.

MutationCreateEventInput.startAt ● DateTime scalar

UTC timestamp at the time the timed event starts. Required when allDay is false.

MutationCreateEventInput.startDate ● String scalar

Inclusive start date for all-day events (YYYY-MM-DD). Required when allDay is true.

Member Of

createEvent mutation