Skip to content

Developer API ​

Connect KSS Book to your own systems: read rooms and their live status, query free/busy times, create, change, end and cancel bookings, and get notified of booking, room status and display events through webhooks.

  • API address: https://book.kozteknoloji.com.tr/api/v1
  • OpenAPI 3.1 document: https://book.kozteknoloji.com.tr/api/v1/openapi.json
  • Readable reference: in the admin panel under Settings › Developer › API reference

Replace book.kozteknoloji.com.tr with your organization's KSS Book address. The exact address is shown in the API URL box on the Settings › Developer tab.

Settings › Developer: API URL, API keys, webhooks and API reference

This page is a summary; all fields and examples of the endpoints are in the OpenAPI document.

Authentication ​

Requests carry an API key:

http
GET /api/v1/rooms HTTP/1.1
Host: book.kozteknoloji.com.tr
Authorization: Bearer kss_live_…
  • Owners and administrators create keys under Settings › Developer › API keys with Create API key. The full key is shown once; KSS Book stores only a hash of it.
  • Keys can expire (30 days, 90 days, 1 year or a chosen date) or never, and can be revoked at any time.
  • Each key belongs to one organization and carries only the permissions (scopes) given to it.
  • An admin panel session never authenticates the API, and API keys never work in the admin panel.
ScopeGrants
rooms:readList rooms, their live status and free/busy times
bookings:readRead bookings
bookings:writeCreate bookings; change, end and cancel bookings made through the API. The rules apply as in the booking portal.
bookings:adminBook like an administrator: restricted rooms, overriding the rules (overrideRules) and changing any booking on the KSS Book calendar. Given together with bookings:write.
webhooks:manageCreate, change and delete webhook endpoints and read their delivery log

Give an integration only the scopes it really needs.

Endpoints ​

MethodPathScopeWhat it does
GET/meanyThe API key making the request
GET/roomsrooms:readList rooms
GET/rooms/statusrooms:readLive status of rooms
GET/rooms/{roomId}rooms:readGet a room
GET/rooms/{roomId}/statusrooms:readLive status of a room
GET/rooms/{roomId}/availabilityrooms:readFree/busy of a room
GET/availabilityrooms:readFree/busy of rooms
GET/bookingsbookings:readList bookings
GET/bookings/{bookingId}bookings:readGet a booking
POST/bookingsbookings:writeBook a room
PATCH/bookings/{bookingId}bookings:writeChange a booking
POST/bookings/{bookingId}/endbookings:writeEnd a meeting now
POST/bookings/{bookingId}/cancelbookings:writeCancel a booking
GET/webhookswebhooks:manageList webhook endpoints
POST/webhookswebhooks:manageAdd a webhook endpoint
GET/webhooks/{endpointId}webhooks:manageGet a webhook endpoint
PATCH/webhooks/{endpointId}webhooks:manageChange a webhook endpoint
DELETE/webhooks/{endpointId}webhooks:manageDelete a webhook endpoint
POST/webhooks/{endpointId}/secretwebhooks:manageRotate the signing secret
POST/webhooks/{endpointId}/pingwebhooks:manageSend a test delivery
GET/webhooks/{endpointId}/deliverieswebhooks:manageDelivery log
POST/webhooks/{endpointId}/deliveries/{deliveryId}/redeliverwebhooks:manageRedeliver an event

Paths are relative to /api/v1.

Booking example ​

bash
curl -X POST https://book.kozteknoloji.com.tr/api/v1/bookings \
  -H "Authorization: Bearer $KSSBOOK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a4e-0b7d-4a8e-9d3c-2f5e7a9b1c0d" \
  -d '{
    "roomId": "8f14e45f-ceea-4675-a07b-6f3b6f1f1a1a",
    "start": "2026-09-22T10:00:00+03:00",
    "end": "2026-09-22T11:00:00+03:00",
    "subject": "Weekly planning",
    "organizerName": "Ayşe Yılmaz",
    "organizerEmail": "ayse@company.example"
  }'
  • Bookings follow the same rules as in the admin panel and the booking portal: working hours, closures, the longest booking, how far ahead, bookings per day, restricted rooms. The room must be free.
  • Rooms connected to Microsoft 365, Google Workspace or Exchange get the booking in that calendar, like bookings made on the door display.
  • Private meetings follow the organization's privacy settings: when their details are hidden on the door displays, the API hides their subject, organizer, description and attendees too (detailsHidden).
  • A cancelled booking stays with the status cancelled; bookings made through the API are removed from a connected calendar too.

Rate limits ​

Each key may make a fixed number of requests per minute (default 240). If you need a higher limit, contact KSS. Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds until the window resets); a 429 response also carries Retry-After.

Errors ​

Errors use one shape:

json
{ "error": { "code": "ROOM_BUSY", "message": "…", "details": {} } }
StatusMeaning
400Invalid request (VALIDATION_ERROR); fields in details.issues
401No valid API key (missing, unknown, revoked or expired)
403The key lacks the scope, or the action is not allowed for it
404Not found in the key's organization
409The room is busy (ROOM_BUSY), the action is not available now, or the Idempotency-Key was used for another request
422The booking breaks the booking rules (BOOKING_RULE); violations in details.violations
429Too many requests (RATE_LIMITED); see Retry-After
502The connected calendar refused or failed (CALENDAR_UNAVAILABLE)
503The connected calendar needs attention in the admin panel (CALENDAR_UNAVAILABLE)

Idempotency ​

POST and PATCH requests accept an Idempotency-Key header (for example a UUID). Retrying a request with the same key within 24 hours returns the first response (marked with Idempotent-Replayed: true) instead of doing the work again. Reusing a key for a different request fails with 409.

Webhooks ​

Webhooks send a POST request with a JSON body to your HTTPS endpoint when the events you choose happen. Manage endpoints in the panel under Settings › Developer › Webhooks or through the API.

EventWhen
booking.createdA booking was created
booking.updatedA booking changed
booking.cancelledA booking was cancelled or deleted
booking.checked_inSomeone checked in to the meeting
booking.releasedThe room was released because nobody checked in
room.status_changedThe room's status changed (e.g. available to busy)
device.offlineA door display lost its connection
device.onlineA door display is connected again

Test deliveries from the panel or /ping have the type ping.

Endpoint address: the KSS Book cloud service only accepts https:// addresses on the internet. If KSS Book runs on your organization's own server, http:// and internal addresses work too.

Headers and signature ​

HeaderContents
X-KssBook-SignatureSignature as t=<unix seconds>,v1=<hex>
X-KssBook-TimestampTime of sending (unix seconds)
X-KssBook-EventEvent type, e.g. booking.created
X-KssBook-Event-IdID of the event; use it to drop duplicates
X-KssBook-DeliveryID of the delivery

The hex value is the HMAC-SHA256 of <t>.<raw request body>, keyed with the endpoint's signing secret (whsec_…). Receivers recompute it, compare in constant time and reject timestamps older than five minutes. In Node.js (read the raw body before parsing it):

js
import { createHmac, timingSafeEqual } from 'node:crypto';

export function verifyKssBookWebhook(rawBody, signatureHeader, secret) {
  const parts = Object.fromEntries(signatureHeader.split(',').map((part) => part.split('=')));
  const timestamp = Number(parts.t);
  if (!Number.isInteger(timestamp) || Math.abs(Date.now() / 1000 - timestamp) > 300) return false;
  const expected = createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest();
  const given = Buffer.from(parts.v1 ?? '', 'hex');
  return given.length === expected.length && timingSafeEqual(given, expected);
}

Retries ​

  • Answer with any 2xx status within 10 seconds. Other answers and timeouts are retried up to 8 times in total with exponential back-off (30 seconds up to 12 hours).
  • Endpoints that keep failing for a day are turned off and the administrators are notified.
  • Events can arrive more than once or out of order: use the event id to ignore duplicates.
  • The delivery log is kept for 30 days; you can redeliver an event from it.

Personal data ​

Bookings made through the API follow the retention periods too. When a person's data is erased, a booking.updated event is sent for their anonymised bookings. Data already sent to an integration is that system's responsibility.