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

Add a venue to the table-reshuffle beta

Request

Administrators, and the operator's own full-access team (not general managers or partners). Idempotent: a venue already in the beta keeps its original entry. Only Collins venues of the operator can be added. Slots that need a reshuffle appear from the next feed build. Each venue switched on is posted to Bookable's reshuffle Slack channel.

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

The unique identifier of the operator

Example: 1
venueIdstringrequired

The Collins venue id

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

Responses

The venue's beta entry

Bodyapplication/json
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" }

Remove a venue from the table-reshuffle beta

Request

Administrators, and the operator's own full-access team (not general managers or partners); each venue switched off is posted to Bookable's reshuffle Slack channel. Bookings made through a reshuffle are not touched. New bookings stop using reshuffles within a minute (each API instance caches the list for up to a minute); slots that need one disappear from the next feed build. The venue's unused stored plans are deleted (plans already booked on are kept as the record). Removing a venue that isn't in the beta is not an error.

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

The unique identifier of the operator

Example: 1
venueIdstringrequired

The Collins venue id

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

Responses

The venue is not in the beta

Response
No content

Switch re-seating on amendment on or off for a beta venue

Request

Administrators, and the operator's own full-access team (not general managers or partners) (BOO-1581). At every beta venue a booking whose party grows past its tables (a partner amend through Bookable, or a change made in Collins) is judged and recorded; bookings are only moved to make room where applyOnAmend is on. Off by default. With it on, a partner amend that can't be re-seated is refused (BOOK-N-046, BOOK-R-006); with it off, the amend goes in as before. Takes effect within a minute (each API instance caches it for up to a minute). A real change is posted to Bookable's reshuffle Slack channel.

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

The unique identifier of the operator

Example: 1
venueIdstringrequired

The Collins venue id

Example: 5ece848cd4ea51354476a79d
Bodyapplication/jsonrequired
applyOnAmendbooleanrequired

Move bookings to re-seat a party that grew past its tables at this venue

curl -i -X PATCH \
  https://api.bookabletech.com/operators/1/reshuffle-beta-venues/5ece848cd4ea51354476a79d \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "applyOnAmend": true
  }'

Responses

The venue's beta entry after the change

Bodyapplication/json
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