Skip to content
Skip to main content
PATCH
https://api.us.nylas.com/v3/scheduling/bookings/{booking_id}

Reschedule a booking

Reschedules the specified booking. Nylas also updates the associated event on the provider.

Nylas recommends against changing participants' email addresses while updating a booking, to avoid confusion.

Nylas validates the provided session ID and uses it to retrieve the related Configuration object. If you created a public Configuration, you don't need to include the Authorization request header with a session ID, but you do need to pass the Configuration object ID as a query parameter.

When you make a PATCH request, Nylas replaces all data in the nested object with the information included in your request. For more information, see Updating objects.

Works with an authorization token.

Parameters

Path parameters

booking_id*string

The ID of the booking object to access.

Query parameters

configuration_idstring

The ID of the Configuration object used for calculating availability. Omit configuration_id when you use session authentication (requires_session_auth: true). The session identifies the Configuration. If you send configuration_id for a Configuration that requires session authentication, Nylas returns a 404 error.

slugstring

The Configuration object slug. You can use this with the client_id instead of using the configuration_id. Omit slug when you use session authentication (requires_session_auth: true) or the configuration_id. If you send slug for a Configuration that requires session authentication, Nylas returns a 404 error.

client_idstring

The client ID that was used to create the Configuration object. Required only if you're using slug.

Request body

start_time*integer

The event's start time, in seconds using the Unix timestamp format.

Example: 1708714800
end_time*integer

The event's end time, in seconds using the Unix timestamp format.

Example: 1708722000
guestobject

Details about the guest. If not provided, Nylas keeps the guest from the existing booking.

timezonestring

The guest's timezone, used in email notifications. If not provided, Nylas keeps the timezone from the existing booking.

email_languagestring

The language of the guest email notifications. If not provided, Nylas keeps the language from the existing booking.

enfrdeesnlsvjazhko
additional_guestsarray<object>

A list of additional guests to include in the booking. If provided, this list replaces the additional guests on the existing booking.

additional_fieldsobject

A dictionary of additional field keys mapped to the values populated by the guest in the booking form. If provided, it replaces the additional fields on the existing booking.

Responses

request_idstring

The request ID.

dataobject
PATCHhttps://api.us.nylas.com/v3/scheduling/bookings/{booking_id}

Paste the authorization token required for this endpoint.

booking_idrequiredstring

The ID of the booking object to access.

configuration_idstring

The ID of the Configuration object used for calculating availability. Omit configuration_id when you use session authentication (requires_session_auth: true). The session identifies the Configuration. If you send configuration_id for a Configuration that requires session authentication, Nylas returns a 404 error.

slugstring

The Configuration object slug. You can use this with the client_id instead of using the configuration_id. Omit slug when you use session authentication (requires_session_auth: true) or the configuration_id. If you send slug for a Configuration that requires session authentication, Nylas returns a 404 error.

client_idstring

The client ID that was used to create the Configuration object. Required only if you're using slug.

Loading editor...

Autocomplete and validation come from this endpoint's request schema.