Skip to main content
Authenticate with Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.
Returns open slots for an event type between startTime and endTime. Call this before Create booking. Pass eventTypeId, or pass both eventTypeSlug and usernameList. Sending neither fails validation.

Body

string
required
Start of the range. ISO 8601 date-time with an offset, for example 2026-11-02T00:00:00+05:30.
string
required
End of the range. Same format as startTime.
integer
Event type id. A numeric string is accepted. Required unless you send eventTypeSlug and usernameList.
string
Event type slug. Must be sent together with usernameList.
string[]
Host usernames. Must be sent together with eventTypeSlug.
string
IANA timezone used when presenting slots, for example Asia/Kolkata. Optional. Send it. Slot times are stored in UTC, and this is how you ask for a local view.
string
Length in minutes for event types that offer more than one duration. Send a string, such as "30". A JSON number does not match the schema.
string
Booking uid being moved. That booking is left out of the conflict check.
A successful call returns the open slots in that range. Pass one of those start times to Create booking.