Public API
Connect KLYZEE with what you already use.
A REST API over your bookings, your customers, your catalogue and your open slots. Key-based authentication, per-key permissions, and signed webhooks so you hear about every change without polling.
Included in the Multi and Enterprise plans.
Authentication
Every key has the shape prefix.secret. The prefix identifies the key; the secret only ever exists on your server, because we store nothing but its encrypted fingerprint. Create it in Settings → API & webhooks and send it in the Authorization header.
curl https://klyzee.app/api/v1/bookings?from=2026-09-01T00:00:00Z \
-H "Authorization: Bearer klz_a1b2c3d4e5f6.SU_SECRETO"Endpoints
Versioned from day one: /api/v1 does not change under your feet.
/api/v1/bookingsList bookings with date filters and cursor pagination.
bookings:read/api/v1/bookingsCreate a booking. It goes through the same rules as the dashboard: plan quota, overlaps and resource capacity.
bookings:write/api/v1/bookings/{id}A single booking with its customer, service and staff member.
bookings:read/api/v1/bookings/{id}Change status, move the time or edit the notes.
bookings:write/api/v1/bookings/{id}Cancel the booking. It is not deleted: it stays in the history.
bookings:write/api/v1/customersList customers, searchable by name, email or phone.
customers:read/api/v1/customersCreate a customer. If one already exists by email or phone, you get it back instead of a duplicate.
customers:write/api/v1/customers/{id}A single customer record.
customers:read/api/v1/servicesService catalogue with price and duration.
catalog:read/api/v1/staffThe business team.
catalog:read/api/v1/availabilityReal open slots: the same ones your booking page offers.
availability:readcurl -X POST https://klyzee.app/api/v1/bookings \
-H "Authorization: Bearer klz_a1b2c3d4e5f6.SU_SECRETO" \
-H "Content-Type: application/json" \
-d '{
"customerId": "cus_...",
"serviceId": "svc_...",
"staffId": "stf_...",
"start": "2026-09-14T10:30:00Z"
}'Webhooks
Register a URL and calendar changes reach you as they happen, without asking every minute.
booking.createdA new booking, whether from the dashboard, your website or the API.
booking.cancelledA cancelled booking, with the reason if there is one.
booking.completedA booking marked as completed, with its amount.
POST https://tu-servidor.com/klyzee
Klyzee-Signature: t=1789000000,v1=9f86d081...
Klyzee-Event: booking.created
{ "id": "evt_...", "event": "booking.created",
"createdAt": "2026-09-14T10:31:02.000Z",
"tenantId": "ten_...", "data": { "bookingId": "bkg_..." } }Signed
Every delivery carries the Klyzee-Signature header, with the timestamp inside the HMAC-SHA256 signature. Verify it before trusting the body and discard anything older than five minutes: that way a replayed request does not get through.
With retries
Five attempts with growing waits. If your server goes down for ten minutes the event is not lost, and a failed delivery never brings down the booking that triggered it.
Limits and errors
120 calls per minute
The limit is per key. Every response carries X-RateLimit-Remaining and X-RateLimit-Reset; go over it and you get a 429 with Retry-After.
Stable codes
Every error arrives as { error: { code, message } }. Route on the code, not on the text: the text changes and gets translated, the code does not.