The DineBook API lets your website, your POS, and your partners check availability, create reservations, and react to booking events in real time. Every booking still lands in your DineBook dashboard.
Put a reservation form on your website in your own branding. Bookings flow straight into DineBook.
Let listing sites and concierge apps show live availability and book on a guest's behalf.
Receive signed webhooks when a reservation is created, seated, cancelled, or marked a no-show.
In your dashboard, open Developers and create an API key. Send it on every request as a Bearer token.
curl "https://dinebook.co/api/v1/availability?date=2026-12-01&party_size=4" \
-H "Authorization: Bearer dbk_live_..."curl -X POST "https://dinebook.co/api/v1/reservations" \
-H "Authorization: Bearer dbk_live_..." \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-12-01",
"time": "19:30",
"party_size": 4,
"guest": { "name": "Jane", "phone": "+254700000000", "email": "jane@example.com" }
}'Base URL https://dinebook.co/api/v1. Authenticate with Authorization: Bearer dbk_live_...
/restaurantYour restaurant profile and its branches.
restaurant:read/availabilityOpen booking slots for a date and party size.
availability:read/reservationsList reservations (filter by status, date range, branch).
reservations:read/reservationsCreate a reservation. Send an Idempotency-Key to make retries safe.
reservations:write/reservations/{id}Fetch a single reservation by its reference.
reservations:read/reservations/{id}Reschedule (date, time, or party size).
reservations:write/reservations/{id}Cancel a reservation.
reservations:writeRegister an endpoint in the dashboard. We POST a signed JSON event to it when a reservation changes. Verify the DineBook-Signature header before trusting a payload.
import crypto from "crypto"
function verify(rawBody, header, secret) {
const [t, v1] = header.split(",").map((p) => p.split("=")[1])
const expected = crypto.createHmac("sha256", secret)
.update(`${t}.${rawBody}`)
.digest("hex")
return crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected))
}Create a key in your dashboard and make your first call in minutes.
Get an API key