Booking Codes
Available times for the calendar bound to a booking code
Changed onUnauthenticated, 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
Changes
- ○
endpoint added
- ○