Skip to main content

CreateEventInput (Input)

Description​

Input for creating a new event.



Fields​

NameDescription
attachmentIds - [String!]IDs of files to attach to the event.
capacity - IntThe maximum number of attendees allowed for the event.
content - String!The main content/description of the event.
customSeoDetail - CustomSeoDetailInputCustom SEO details for the event.
endTime - DateTime!The end date and time of the event.
hostIds - [String!]!IDs of members who will be hosts of the event.
notificationSettings - EventNotificationSettingsInput!Notification settings for the event.
physicalLocations - [CreatePhysicalLocationInput!]Physical locations where the event takes place.
pollIds - [String!]IDs of polls to associate with the event.
recurrenceConfig - EventRecurrenceConfigInputConfiguration for recurring events. If provided, the event will repeat according to the specified settings.
slug - StringThe URL slug for the event. If not provided, it will be generated from the title.
startTime - DateTime!The start date and time of the event.
tagIds - [String!]IDs of tags to associate with the event.
thumbnailId - StringThe ID of the thumbnail image for the event.
timeZone - String!The IANA timezone for the event times (e.g., "America/New_York", "UTC").
title - String!The title of the event.
virtualLocations - [CreateVirtualLocationInput!]Virtual locations where the event takes place online.

input CreateEventInput {
attachmentIds: [String!]
capacity: Int
content: String!
customSeoDetail: CustomSeoDetailInput
endTime: DateTime!
hostIds: [String!]!
notificationSettings: EventNotificationSettingsInput!
physicalLocations: [CreatePhysicalLocationInput!]
pollIds: [String!]
recurrenceConfig: EventRecurrenceConfigInput
slug: String
startTime: DateTime!
tagIds: [String!]
thumbnailId: String
timeZone: String!
title: String!
virtualLocations: [CreateVirtualLocationInput!]
}