This page covers the key domain concepts you need to understand before integrating with the Bookable API.
Bookable is a TMS API gateway — a single API that sits above the table management systems that hospitality operators already use day-to-day.
Operators (restaurants, bars, event venues) manage their tables, capacity, and reservations inside a TMS such as Collins, SevenRooms, or Zonal. Bookable onboards those operators and connects their TMS credentials once, and connects the operators to your channel. Bookable then handles all communication with the underlying TMS on your behalf, exposing a single consistent API regardless of how many operators or TMS systems are involved.
Your platform
│
▼
Bookable API ← one integration, two APIs
┌──────────────────────────────┐
│ TMS Gateway API │ ← operators and TMS credentials (set up by Bookable)
│ Bookings API │ ← ongoing: search venues, check availability, create bookings
└──────────────────────────────┘
│
┌───┴──────────────┐
Collins SevenRooms Zonal ← operators use whichever TMS they chooseHow the two APIs work together:
| API | Purpose |
|---|---|
| TMS Gateway API | Operators and their TMS credentials, set up by Bookable; GET /operators lists the operators connected to you |
| Bookings API | Day-to-day operations — search venues, check availability, create and manage bookings |
Once Bookable has onboarded an operator with active TMS credentials and connected it to your channel, all of its venues appear automatically in GET /venues.
What this means for your integration:
- You write and maintain one integration, regardless of how many operators or TMS systems you connect to
- Real-time availability is read directly from each operator's TMS
- Booking confirmations and status updates are written back to the TMS in real time
- Composite IDs map your API calls to the correct TMS-native venue and product identifiers
An operator is a hospitality business whose venues you want to make bookable — for example, a restaurant group like "Stonegate" or "Big Table Group". Operators are the companies that own and manage venues; each operator may run dozens of individual venues.
Bookable onboards operators and connects their TMS credentials; partners don't. Since TMS Gateway API v4.0.0, POST /operators is for Bookable administrators only, and the TMS-credential operations for administrators and the operator's own Admins (partners get 403). Once an operator is connected to your channel, its venues appear in GET /venues in the Bookings API, and GET /operators lists the operators you're connected to.
TMS credentials connect an operator to their table management system (Collins CO, SevenRooms SR, Zonal ZO). They tell Bookable how to authenticate with that TMS on the operator's behalf, unlocking real-time availability and booking for that operator's venues. An operator may hold credentials for more than one TMS. Bookable or the operator manages them; secrets are write-only and never returned.
Bookable provides two environments:
| Sandbox | Production | |
|---|---|---|
| Base URL | https://api-sandbox.bookabletech.com | https://api.bookabletech.com |
| Auth URL | https://auth-sandbox.bookabletech.com/oauth/token | https://auth.bookabletech.com/oauth/token |
| Credentials | Sandbox client_id / client_secret | Production client_id / client_secret |
| Data | Test venues with simulated availability | Live operator venues |
| Charges | No real charges | Real transactions |
Sandbox credentials are scoped to the sandbox environment only — they will not work against the production API.
Both sets of credentials are available in the Bookable Portal under your account settings.
Use the sandbox for all development and testing. Switch to production credentials and the production base URL only when you are ready to go live.
Webhooks are fully testable in sandbox — your own booking actions generate the notifications, and POST /webhooks/test can send any event type on demand. See the Webhook Guide.
A venue represents a single physical location — a restaurant, bar, private dining room, or event space. Each venue is independently managed by an operator.
A venue exposes one or more products: the bookable experiences it offers. A product might be "Bottomless Brunch", "Private Dining Room A", or simply "Table Reservation". Each product has its own availability rules, capacity limits, and pricing.
When you search for venues (GET /venues), the response includes a products array on each venue object. This is where you find the compositeId required for all subsequent calls.
All booking and availability endpoints require a composite ID to identify a specific venue-product combination.
The composite ID is a pipe-delimited string with four parts:
OperatorId|TmsSlug|VenueId|ProductIdExample: 29|CO|275cc44dd2e2496fba44857c9257443a|d99128c546b34b619c4477b712869f2b
Always treat it as an opaque string — do not parse or construct it manually.
Where to find it:
// GET /venues response (truncated)
{
"data": [
{
"name": "The Grand Table",
"products": [
{
"compositeId": "29|CO|275cc44dd2e2496fba44857c9257443a|d99128c546b34b619c4477b712869f2b",
"productName": "Table Reservation"
}
]
}
]
}Use products[].compositeId as the {compositeId} path parameter in all availability and booking endpoints:
GET /venues/{compositeId}/availability
POST /venues/{compositeId}/bookingEach product has an availabilityType that determines how a booking is confirmed:
| Type | Description |
|---|---|
book | Instant confirmation. The booking is normally confirmed immediately upon creation. If the venue's booking system is unavailable, it comes back Pending with syncState: pending_create until that system confirms or refuses it. |
request | Manual approval required. The booking enters a pending state and must be approved by the venue operator. |
To find the correct type, check the times array in the availability response and use the type from the slot you want to book:
// GET /venues/{compositeId}/availability response (truncated)
{
"times": [
{ "time": "19:00", "duration": 90, "type": "book" },
{ "time": "19:30", "duration": 90, "type": "request" }
]
}book means the slot can be auto-confirmed — unless the venue's booking system is down, in which case the booking is held as Pending (syncState: pending_create) and is not confirmed until a later booking.updated. An availability response with availabilitySource: "feed" is Bookable's last snapshot taken while that system is down, so any booking made against it is provisional. request is always a valid choice when creating the booking, even for a slot that returned book.
date and time are on the venue's trading day: a 00:30 slot at the end of a Saturday evening is listed under Saturday's date, but starts on Sunday.
times[].dateTime(nullable) is the real start moment, RFC 3339 with the venue's UTC offset, e.g.2026-10-18T00:30:00+01:00. Send it back unchanged asdateTimewhen booking.- A booking needs either
dateTimeor bothdateandtime. Both forms must agree (BOOK-N-018); neither →BOOK-N-019; no UTC offset →BOOK-N-020. - Availability also accepts
startDateTime/endDateTime(offset required, URL-encode+as%2B, window ≤ 48 h) instead ofdate/startTime/endTime. Booking.dateTimein responses carries the same real moment.
| Status | Meaning |
|---|---|
Pending | Request submitted, awaiting operator approval — or a book taken while the venue's booking system was unavailable (syncState: pending_create), confirmed or refused once it answers |
Confirmed | Booking accepted — instant (book) or approved (request) |
Cancelled | Booking was cancelled or declined — or refused by the venue's booking system when it came back (syncState: refused) |
A confirmed booking has a unique id (format: OperatorId|TmsSlug|BookingId) and an operatorBookingId (the reference assigned by the venue's TMS). Store both — use id in API calls and operatorBookingId when communicating with guests.