API and webhooks
With the Bookora REST API you connect bookings to your own systems: access control, POS, online store or accounting. Keys are created in admin under Embedding and API.
Authentication
Every request needs the header Authorization: Bearer <key>. The secret key (sk_bko_) grants full access and belongs only on a server. The public key (pk_bko_) can read items and availability.
curl -H "Authorization: Bearer sk_bko_..." https://bookora.fi/api/v1/resourcesEndpoints
GET /api/v1/resources items
GET /api/v1/resources/{slug}/availability?date=2026-11-12 free times
GET /api/v1/bookings?from=ISO&to=ISO bookings
POST /api/v1/bookings new booking
GET /api/v1/bookings/{id} one booking
DELETE /api/v1/bookings/{id}?refund=1¬ify=1 cancellation
GET /api/v1/passes?code=KOODI pass balance
POST /api/v1/passes new passPOST /api/v1/bookings
{
"resource": "sauna",
"start": "2026-11-12T16:00:00+02:00",
"end": "2026-11-12T18:00:00+02:00",
"customer": { "name": "Maija Meikäläinen", "email": "maija@example.com", "phone": "+358401234567" },
"pass_code": "OPTIONAL",
"send_email": true,
"paid": false
}Webhooks
Events: booking.created, booking.confirmed, booking.updated, booking.cancelled, payment.received, pass.created, pass.renewed, pass.cancelled, access.granted. A failed delivery is retried after 1 min, 5 min, 30 min, 2 h and 12 h.
Verify the signature in the X-Bookora-Signature header: t=timestamp,v1=HMAC-SHA256(secret, timestamp + "." + body).
// Node.js
const [ts, sig] = header.split(",").map(p => p.split("=")[1]);
const ok = crypto.createHmac("sha256", secret).update(ts + "." + rawBody).digest("hex") === sig;Embedding
<div data-bookora="tunnus" data-resource="kohde" data-lang="fi"></div>
<script src="https://bookora.fi/embed.js" async></script>