Skip to main content
Authenticate with Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.
Books a slot on an event type. Call Get availability first and pass one of the returned start times. This route does not check that the slot is still free. This route checks the API key and then books. It does not return the Tier 4 403 that the other routes return. A bad key is still 401, with message Invalid or missing credentials. To reschedule, send the same body with rescheduleUid set to the booking uid and a new start. The MCP tool reschedule_booking is a separate name for this operation. The HTTP field is rescheduleUid on this route.

Body

integer
required
ID of the event type to book.
string
required
Start time. ISO 8601 date-time including a timezone offset.
string
End time. ISO 8601 date-time including a timezone offset.
string
required
IANA timezone of the attendee.
object
required
Attendee details and booking answers.
string
UID of the booking to move. Get it from List bookings.
string
required
Language code, for example en. There is no default. Omitting it fails validation.
object
required
String values only. Send {} when you have nothing to store.
string[]
required
Send [] for a normal booking.
object[]
required
Send [] for a single slot. Package and recurring bookings put each slot here as { "start", "end" }.
A successful call returns the booking that was created or moved. If the slot was taken, look up availability again and choose another start time.