Skip to content
Skip to main content
POST
https://api.us.nylas.com/v3/scheduling/configurations/{configuration_id}/group-events/validate-timeslot

Validate time slot

Validates whether the selected group event time slot is still valid. Nylas returns a 200 response when the time slot is valid.

Nylas returns a 400 error with one of the following messages when the time slot is no longer valid:

  • Event was rescheduled: The event's start or end time doesn't match the start_time and end_time in your request.
  • Event is full: The event has no remaining capacity.
  • Event occurrence cancelled: The occurrence of the recurring event was cancelled.

If event_id is missing or doesn't match a group event in the Configuration, Nylas returns a 404 error with the message Event not found.

Works with an API key or an IAM API key with the configurations.create permission.

Parameters

Path parameters

configuration_id*string

The ID of the Configuration object to access.

Request body

Validate time slot

calendar_id*string

ID of the calendar to access.

Example: "primary"
end_time*integer<int64>

The end time of the time slot, in seconds using the Unix timestamp format. Nylas compares this to the event's current end time to detect whether it was rescheduled.

Example: 1744290000
event_id*string

ID of the event to validate.

Example: "5d3qmne77v32r8l4phyuksl2x"
master_idstring

The master event ID. Required when working with recurring events.

Example: "5d3qmne77v32r8l4phyuksl2x"
start_time*integer<int64>

The start time of the time slot, in seconds using the Unix timestamp format. Nylas compares this to the event's current start time to detect whether it was rescheduled.

Example: 1744286400

Responses

request_idstring

ID of the request.

Example: "5967ca40-a2d8-4ee0-a0e0-6f18ace39a90"
POSThttps://api.us.nylas.com/v3/scheduling/configurations/{configuration_id}/group-events/validate-timeslot

Find your API key in the Nylas Dashboard under API Keys in your application settings.

configuration_idrequiredstring

The ID of the Configuration object to access.

Loading editor...

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