nylas
    Preparing search index...

    Interface CreateBookingRequest

    Interface representing a create booking request.

    interface CreateBookingRequest {
        additionalFields?: Record<string, string>;
        additionalGuests?: BookingGuest[];
        emailLanguage?: EmailLanguage;
        endTime: number;
        guest: BookingGuest;
        participants?: BookingParticipant[];
        startTime: number;
        timezone?: string;
    }
    Index

    Properties

    additionalFields?: Record<string, string>

    A dictionary of additional field keys mapped to the values populated by the guest in the booking form.

    additionalGuests?: BookingGuest[]

    An array of objects that include a list of additional guest email addresses to include in the booking.

    emailLanguage?: EmailLanguage

    The language of the guest email notifications.

    endTime: number

    The event's end time, in Unix epoch format.

    Details about the guest that is creating the booking. The guest name and email are required.

    participants?: BookingParticipant[]

    An array of objects that include a list of participant email addresses from the Configuration object to include in the booking. If not provided, Nylas includes all participants from the Configuration object.

    startTime: number

    The event's start time, in Unix epoch format.

    timezone?: string

    The guest's timezone that is used in email notifications. If not provided, Nylas uses the timezone from the Configuration object.