Booking Codes

Available times for the calendar bound to a booking code

Changed on

Unauthenticated, code-gated read of a calendar's available times.

GET /public/booking/available-times/ ports public_api.queries.Query.available_times_with_code to REST. The calendar comes from the resolved token (token.calendar, falling back to token.event.calendar); no calendar id is accepted from the client.

get/public/booking/available-times/

Request

  • The document declares no server URL.
  • Auth: none declared. Required headers: X-Booking-Code

Query parameters

end_datetimestring required

End of the query window (ISO 8601).

start_datetimestring required

Start of the query window (ISO 8601).

Headers

X-Booking-Codestring required

Single-use booking code. Every failure -- invalid, expired, used, revoked, or wrong-scope -- returns the same 403 {"detail": "Invalid or expired code."}; this endpoint never discloses which one occurred. Repeatable: never consumed by a read.

Response

idinteger required
start_timestring date-time required
end_timestring date-time required
timezonestring required
rrule_stringstring

RRULE string for creating recurring available times

is_recurring_instanceboolean required

True if this is an instance of a recurring available time

is_recurringboolean required

True if this is a recurring available time

recurrence_idstring date-time nullable required

For recurring instances, this identifies which occurrence this is

createdstring date-time required
modifiedstring date-time required
calendarinteger nullable

Changes