# Changelog

Changes to the API. Within v1 only additions are made; anything that breaks goes into `/api/v2`.

## v1.4 — 2 December 2026

- New fields on every service in `GET /services`: `duration_min_minutes`, `duration_max_minutes` and `price_from_cents`. For a service with variants they come from the variants (shortest and longest duration, lowest price); otherwise they equal `duration_minutes` and `price_cents`. For a service with variants, show this range ("30–60 min · from € 35") instead of the service's base duration and price. `price_from_cents` is `null` when the venue hides the price. The existing fields are unchanged. See [Booking flow](/developers/en/booking-flow#1-services-and-variants).

## v1.3 — 2 December 2026

- Optional `company` block (`name`, `vat_number`, `reference`) on `POST /bookings` and `POST /holds/{id}/deposit`: the guest books for a company. The VAT number is checked against EU VIES after the booking and never blocks it. After a deposit with a redirect, `POST /bookings/recover` carries the block over. See [Booking flow](/developers/en/booking-flow#6-guest-details).
- The booking response has a new field `booking.company` (or `null`).

## Documentation — 1 December 2026 (new docs)

- The [API reference](/developers/en/reference) is now generated straight from the OpenAPI document, with parameters, request and response examples, the possible errors and code samples in curl, JavaScript, PHP and Python for every endpoint.
- **Try it**: send every `GET` and `POST /holds` from the docs, with your own publishable key, to the real API of that venue.
- New [5-minute quickstart](/developers/en/quickstart), and all docs in English at [/developers/en](/developers/en).
- `openapi.json` now has `tags` and examples (`example`) per parameter, body, response and error code. No change to the API itself.

## v1.2 — 1 December 2026

- A venue in the **setup phase** (created by a partner, not yet activated by the owner) now responds on all `GET` routes, so you can already build and test your site. Write calls are still rejected with `403 not_enabled` and the new `details.reason = "venue_in_setup"`. See [Testing](/developers/en/testing#during-the-setup-phase).

## Documentation — 1 December 2026

- New page [Multiple locations](/developers/en/multiple-locations): one key per location, the visitor first chooses a location, and staff members who work at multiple locations are seen as busy in every location. No change to the API itself.

## v1.1 — 25 November 2026

- Duo treatments (services that need multiple staff members at the same time): `required_providers` on services and in `/availability`, `extra_provider_ids` filled in holds and bookings, `reason: "not_enough_staff"` on a day without enough staff members, `multi_staff_combo` if such a service is part of a combination. Such a booking always gets a real hold.
- If a venue hides the number of free places, `/availability` returns `available: 1` and an empty `provider_ids`.
- Callyndar's Turnstile is now **off by default** per key. Protecting your form against bots is the site builder's job (own captcha or Turnstile); Callyndar's Turnstile is an optional extra that the owner turns on per key (`GET /venue` → `turnstile_required`).

## v1.0 — 23 November 2026

First version of the Callyndar Booking API for custom websites.

- Publishable keys per venue (`cal_pk_live_…`) with domain list, "Allow localhost" and Turnstile per key; managed at `/integrations`.
- Reading: `GET /venue`, `/services`, `/providers`, `/calendar`, `/availability`, `/deposit-policy`.
- Booking: `POST /holds` (real hold or signed slot confirmation, `capacity_reserved`), `DELETE /holds/{id}`, `POST /bookings` with `Idempotency-Key`.
- Deposits: `POST /holds/{id}/deposit` (Stripe Payment Element on the venue's account) and `POST /bookings/recover` after a redirect payment.
- Every slot and booking response already contains `provider_id` and `extra_provider_ids` (empty), and services have `required_providers` (1): ready for treatments with multiple staff members.
- OpenAPI 3.1 at `/api/v1/openapi.json`, all docs in a single file at `/developers/en/llms-full.txt`.

What you can expect in v1 (additive): new optional fields and new endpoints. Ignore fields you don't recognize.
