Skip to content

Operator API (5.0.0)

API for operators and their TMS credentials. Once configured, operators and their venues become available for booking operations via the Bookings API.

Bookable onboards operators: only Bookable administrators create them. Partners can't create or manage operators; a partner lists the operators it is connected to, and asks Bookable to be connected to another.

TMS credentials are managed by Bookable administrators and the operator's Admins only. Their secrets (secretId, bearer) are write-only: the API stores them but never returns them, and says instead whether one is set (hasSecret) and when it last changed (secretUpdatedAt).

This API provides endpoints to:

  • Register, retrieve, update, and deregister operators
  • Manage TMS credentials for each operator

Supported TMS Systems:

  • Collins (CO) - BearerToken authentication
  • SevenRooms (SR) - ClientCredentials authentication
  • Zonal (ZO) - BaseAuth authentication

Authentication Fields by TMS Type:

TMSAuth TypeRequired Fields
Collins (CO)BearerTokenbearer, externalOperatorId
SevenRooms (SR)ClientCredentialsclientId, secretId
Zonal (ZO)BaseAuthclientId, secretId
Download OpenAPI description
Languages
Servers
Live
https://api.bookabletech.com

operators

Operators are the hospitality businesses (e.g. Stonegate, Nightcap, Big Table Group) whose venues are bookable through Bookable. Bookable registers an operator before connecting its TMS credentials.

Operations

Get the order of the operator's venue page sections

Request

The order the operator's venue page shows its sections in, in the Bookable app, for everyone at the operator (BOO-1662, Settings → Venues → Venue page sections). The venue page is the page for one venue, with a bar of sections: Site details, Photos & videos, Booking types, Rooms & spaces and so on.

sectionOrder lists section ids first to last. Sections it doesn't list follow in the app's default order, which is: site-details, photos, booking-types, tables-areas, pre-orders, floor-plans, invoicing, under-18s, rooms-spaces, faqs. null means nobody has chosen an order, so the default order applies. Sections that are beta features and not switched on for the operator are listed if saved but not shown.

An administrator or any member of the operator may read it.

Security
Live(Required scopes:
venue-group:read
)
Path
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
curl -i -X GET \
  https://api.bookabletech.com/operators/1/venue-page-settings \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The operator's venue page section order

Bodyapplication/json
sectionOrderArray of strings or null(VenuePageSection)non-emptyuniquerequired

Section ids, first to last. Sections not listed follow in the default order. null: no order chosen, so the default order applies (on an update, go back to it).

Enum"site-details""photos""booking-types""tables-areas""pre-orders""floor-plans""invoicing""under-18s""rooms-spaces""faqs"
Example: ["rooms-spaces","booking-types","site-details"]
Response
application/json
{ "sectionOrder": [ "rooms-spaces", "booking-types", "site-details" ] }

Set the order of the operator's venue page sections

Request

Sets the order every venue page in the Bookable app shows its sections in, for everyone at the operator (BOO-1662). Use it when an operator asks to put a section first, move one up or down, or go back to the usual order. It changes how the app's pages are laid out only: no venue, booking or channel changes.

Send the full order you want in sectionOrder, first to last. To move one section, read the current order with getOperatorVenuePageSettings first and send it back with that section moved; when it is null, start from the default order (site-details, photos, booking-types, tables-areas, pre-orders, floor-plans, invoicing, under-18s, rooms-spaces, faqs). Sections left out follow in that default order. Send sectionOrder: null to go back to the default order. Each id at most once; an empty list is refused (VALID-N-001, 400).

Only an administrator or an Admin of operatorId may call it; anyone else, Team members included, gets USER-N-008 (403). The change shows the next time someone opens a venue page.

Security
Live(Required scopes:
venue-group:update
)
Path
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
Bodyapplication/jsonrequired
sectionOrderArray of strings or null(VenuePageSection)non-emptyuniquerequired

Section ids, first to last. Sections not listed follow in the default order. null: no order chosen, so the default order applies (on an update, go back to it).

Enum"site-details""photos""booking-types""tables-areas""pre-orders""floor-plans""invoicing""under-18s""rooms-spaces""faqs"
Example: ["rooms-spaces","booking-types","site-details"]
curl -i -X PUT \
  https://api.bookabletech.com/operators/1/venue-page-settings \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "sectionOrder": [
      "rooms-spaces",
      "booking-types",
      "site-details"
    ]
  }'

Responses

The operator's venue page section order after the change

Bodyapplication/json
sectionOrderArray of strings or null(VenuePageSection)non-emptyuniquerequired

Section ids, first to last. Sections not listed follow in the default order. null: no order chosen, so the default order applies (on an update, go back to it).

Enum"site-details""photos""booking-types""tables-areas""pre-orders""floor-plans""invoicing""under-18s""rooms-spaces""faqs"
Example: ["rooms-spaces","booking-types","site-details"]
Response
application/json
{ "sectionOrder": [ "rooms-spaces", "booking-types", "site-details" ] }

List the operator's venues in the table-reshuffle beta

Request

Administrators, and the operator's own full-access team (not general managers or partners). The Collins venues where Bookable may publish slots that need a table reshuffle (BOO-1038), and who switched each on. Reshuffles also need the global switch on; a venue listed here does nothing without it.

Security
Live(Required scopes:
venue-group:read
)
Path
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
curl -i -X GET \
  https://api.bookabletech.com/operators/1/reshuffle-beta-venues \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The operator's venues in the beta

Bodyapplication/jsonArray [
venueIdstringrequired

The Collins venue id

Example: "5ece848cd4ea51354476a79d"
enabledBystring or null

Who added the venue (the administrator's user id)

enabledAtstring(date-time)required

When the venue was added

applyOnAmendbooleanrequired

Bookings at the venue are really moved when a booking's party grows past its tables (BOO-1581); off = judged and recorded only

applyOnAmendChangedBystring or null

Who last switched applyOnAmend (their user id); null while never changed

applyOnAmendChangedAtstring or null(date-time)

When applyOnAmend was last switched

]
Response
application/json
[ { "venueId": "5ece848cd4ea51354476a79d", "enabledBy": "string", "enabledAt": "2019-08-24T14:15:22Z", "applyOnAmend": true, "applyOnAmendChangedBy": "string", "applyOnAmendChangedAt": "2019-08-24T14:15:22Z" } ]

operator-tms-credentials

Credentials connect a registered operator to their TMS. Each credential set tells Bookable how to authenticate with a specific TMS on the operator's behalf — unlocking real-time availability and booking capability for that operator's venues. An operator may hold credentials for multiple TMS systems (e.g. Collins for some venues, SevenRooms for others). Only Bookable administrators and the operator's Admins may call these endpoints; anyone else, the operator's Team members and general managers included, gets USER-N-008 (403). Secrets are write-only.

Operations