Callyndar API for custom websites
Build the booking flow of a Callyndar venue into your own HTML/CSS site, with no server and no widget.
With the Callyndar Booking API, a static website (HTML, CSS and a little JavaScript) can do exactly what the Callyndar booking widget does, but in your own design:
- the venue, opening hours and the required privacy and terms links;
- services, variants and prices (salon, barber, clinic) or the party size (restaurant);
- staff members, including "no preference";
- open and closed days, and the free times per day;
- holding a time with a countdown, the guest's details, an optional deposit and the booking itself.
The API deliberately does nothing more: it cannot retrieve, change or cancel bookings (the guest does that through the link in their confirmation email), and it exposes no customer data and no management functions.
Quickstart in 5 steps
- Create a key. The owner (or anyone with write access to Integrations) creates a publishable key at
/integrations→ "API & own website" (API & eigen website):cal_pk_live_…. - Add a domain. Put the exact domain of the site on the key, for example
https://www.salon-voorbeeld.be. While building, you can turn on "Allow localhost" (Localhost toestaan). - Show services.
GET /api/v1/venueandGET /api/v1/servicesgive you everything you need to draw the first screen. - Pick a time.
GET /api/v1/calendarcolors the calendar,GET /api/v1/availabilityreturns the free times of one day, andPOST /api/v1/holdsholds the chosen time. - Book.
POST /api/v1/bookingswith the guest's details and a newIdempotency-Key(plus a Turnstile token if the key asks for one). Protecting your form against bots is up to you, with your own captcha or Turnstile. Done: the booking appears in the calendar with source "API" and the guest receives their confirmation email.
const res = await fetch('https://www.callyndar.com/api/v1/services', {
headers: { Authorization: 'Bearer cal_pk_live_YOUR_KEY' },
});
const { services } = await res.json();Want to try it right away? Follow the 5-minute quickstart. Then read Getting started and The booking flow.
Example to copy
boeking.html: a single HTML file with the complete flow (services → staff member → day → times → hold with countdown → details (+ Turnstile if the key asks for it) → optional deposit → confirmation). Deliberately minimal CSS with clearclassnames: style it in your own design.callyndar-api.js: a smallfetchwrapper (ES module) with error handling,Idempotency-Keyand a hold timer.
At /integrations you can download boeking.html with the venue's key already filled in.
Working with an AI assistant?
Give your assistant one URL: /developers/en/llms-full.txt. It contains all the docs, the reference, the rules and the complete example in a single file. Every page also exists as Markdown (for example /developers/en/booking-flow.md), and the machine-readable spec is at /api/v1/openapi.json.
Copyable prompt:
Build a booking flow with the Callyndar API for this static HTML/CSS site.
First read https://www.callyndar.com/developers/en/llms-full.txt and follow the "Rules for AI assistants" in it.
Use only endpoints and fields from that documentation.
Publishable key: cal_pk_live_YOUR_KEY
API base: https://www.callyndar.com/api/v1
Style: use the existing CSS and layout of this site.All pages
- 5-minute quickstart: key → venue → availability → hold → booking with curl
- Getting started: key, domains, bot protection, first call
- The booking flow: salon and restaurant, step by step
- Deposits: Stripe Payment Element and recovery after a redirect
- Reference: all endpoints, fields and errors
- Errors and limits: error codes, rate limits and idempotency
- Security: what may and may not go in your HTML
- Testing: local development and test cards
- Changelog