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 endpoint does not check availability itself. If the event type has required bookingFields (see Get event type), include the answers in responses, keyed by each field’s name. To reschedule an existing booking, send the same request with its rescheduleUid and the new start time.

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
default:"en"
Language code.
object
default:"{}"
String key-value pairs stored with the booking.
array
default:"[]"
Send an empty array.
array
default:"[]"
Send an empty array.
The response is the same one the LunaCal platform returns for this route.