Developer API & Platform Integrations
Build custom integrations, automate workflows, and connect Bokd to your existing hardware and software ecosystem.
Authentication & Scoping
All API requests authenticate via Bearer API keys generated inside your club settings. Each key is strictly isolated to your tenant domain.
Send your tenant API key via the X-API-Key header (generated in Portal → Settings → API Keys). All endpoints are strictly tenant-isolated and protected by per-key rate limiting.
curl -X GET "https://api.bokd.app/api/v1/venues/1/availability?date=2026-11-25" \ -H "X-API-Key: bk_live_your_tenant_api_key" \ -H "Accept: application/json"
REST API v1 Endpoints
/api/v1/venuesList active courts / venues for your tenant with hourly rates and surface metadata.
/api/v1/venues/{id}Retrieve detailed venue configuration, amenities, and blocked periods.
/api/v1/venues/{id}/availabilityQuery real-time available time slots for a specific date (?date=YYYY-MM-DD).
/api/v1/bookingsList bookings with status, court, customer, and payment breakdown.
/api/v1/bookings/{id}Retrieve a single booking record including participants and payment logs.
/api/v1/usersList registered club players and members with contact details.
/api/v1/users/{id}Retrieve a single player profile, loyalty points, and booking history.
Query Pipeline API v2
Structured pagination, dynamic filtering, and multi-column sorting.
/api/v2/bookingsCursor/page paginated bookings with dynamic ?search=, ?sort_by=, ?sort_dir=, and ?filters= JSON pipeline.
/api/v2/venuesFiltered venues list supporting branch scoping, sport type, and active status.
/api/v2/usersSearchable customer directory with date range and role filters.
Public Guest Booking & Bootstrap API
Embed live court availability and booking holds inside custom websites or mobile apps.
/api/{tenantSlug}/public/bootstrapFetch club branding, theme colors, supported locales, and feature flags.
/api/{tenantSlug}/public/bookings/availabilityCheck live slot availability across all courts without authentication.
/api/{tenantSlug}/public/bookings/holdsTemporarily lock a court slot while the player completes checkout.
/api/{tenantSlug}/public/bookings/guestConfirm a guest booking after OTP verification and receive a manage token.
Signed Webhooks (HMAC-SHA256)
Receive real-time events for booking.created, booking.cancelled, payment.succeeded, and subscription.updated.
// Verify X-Bokd-Signature (HMAC-SHA256 of raw request body)
const crypto = require("crypto");
const computed = crypto
.createHmac("sha256", process.env.BOKD_WEBHOOK_SECRET)
.update(rawBody)
.digest("hex");
const isValid = crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(computed));