Skip to content

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.

GET
/api/v1/bookings

List bookings with date filters and cursor pagination.

bookings:read
POST
/api/v1/bookings

Create a booking. It goes through the same rules as the dashboard: plan quota, overlaps and resource capacity.

bookings:write
GET
/api/v1/bookings/{id}

A single booking with its customer, service and staff member.

bookings:read
PATCH
/api/v1/bookings/{id}

Change status, move the time or edit the notes.

bookings:write
DELETE
/api/v1/bookings/{id}

Cancel the booking. It is not deleted: it stays in the history.

bookings:write
GET
/api/v1/customers

List customers, searchable by name, email or phone.

customers:read
POST
/api/v1/customers

Create a customer. If one already exists by email or phone, you get it back instead of a duplicate.

customers:write
GET
/api/v1/customers/{id}

A single customer record.

customers:read
GET
/api/v1/services

Service catalogue with price and duration.

catalog:read
GET
/api/v1/staff

The business team.

catalog:read
GET
/api/v1/availability

Real open slots: the same ones your booking page offers.

availability:read
curl -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.created

A new booking, whether from the dashboard, your website or the API.

booking.cancelled

A cancelled booking, with the reason if there is one.

booking.completed

A 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.

Missing an endpoint?

Tell us what integration you are building and we will prioritise it.

Write to us
API for developers · KLYZEE