Changelog
Generated from the contract's own changelog, newest first.
Current version 1.4.1
Compatibility#
Every change within v1 is additive: new optional fields, parameters and events. Integrations must ignore fields and event names they do not know. A strict response validator built from an older version must be updated from this document.
The API reference always shows the current version.
1.4.1#
clarifications and behaviour changes. Behaviour: new secret keys start tulo_sk_ (tulo_pk_ keys keep working as secret keys); the read routes answer a CORS preflight, so a browser can send a publishable key in Authorization or X-Api-Key (recommended; ?key= stays as a fallback); request bodies over 64 KiB are 413 request_too_large (was 400 invalid_json up to 1 MiB on POST /bookings); a multi-room 201 whose rooms could not be read back omits rooms[] instead of answering 500. Documented: every webhook event (WebhookEvent.event is now an enum, each value described, including booking.created and booking.unit_moved, which were sent but not listed), webhook delivery (10 second timeout, retry waits, 8 attempts, which bookings, who sets the URL), idempotency (a 5xx releases the key; Idempotency-Persistence: degraded).
1.4.0#
several rooms in one booking. Quote and calendar rooms parameter; quote options rooms, rooms_fit, selection_total, suggested_split; calendar rooms and night reason; create rooms[]; 409 no_availability details for a multi-room create (reason, first_blocked_night, available_count, room_type_id, rooms); Booking.room_count and Booking.rooms[]; webhook events booking.room_cancelled and booking.updated documented.
1.3.0#
Policies.cancellation_text.
1.2.0#
room type amenities; room-type photo caption and source.
1.1.0#
signed booking requests, signed webhooks, GET /signing-keys, test vectors.
1.0.0#
The first version: publishable and secret keys with scopes and allowed origins, GET /place, GET /calendar, GET /quote, and website bookings (GET /bookings, POST /bookings with Idempotency-Key, GET /bookings/{id}, POST /bookings/{id}/cancel), and booking webhooks.
