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.
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:
| TMS | Auth Type | Required Fields |
|---|---|---|
| Collins (CO) | BearerToken | bearer, externalOperatorId |
| SevenRooms (SR) | ClientCredentials | clientId, secretId |
| Zonal (ZO) | BaseAuth | clientId, secretId |
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.
- Livehttps://api.bookabletech.com/operators/{operatorId}/tms-credentials
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.bookabletech.com/operators/1/tms-credentials \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "operatorId": 1, "tmsId": 1, "tmsName": "Collins", "tmsSlug": "CO", "active": true, "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-02-10T14:20:00Z" }, { "operatorId": 1, "tmsId": 2, "tmsName": "SevenRooms", "tmsSlug": "SR", "active": true, "createdAt": "2025-01-20T09:15:00Z", "updatedAt": "2025-01-20T09:15:00Z" } ]
Request
Create a new TMS credentials to link a table management system to an operator with the necessary credentials. Bookable administrators and the operator's Admins only. The response never contains secretId or bearer; hasSecret and secretUpdatedAt say what is stored.
The slug identifier of the TMS to connect. Supported values:
CO- Collins (uses BearerToken authentication)SR- SevenRooms (uses ClientCredentials authentication)ZO- Zonal (uses BaseAuth authentication)
Client ID for authentication. Required for BaseAuth and ClientCredentials TMS types.
Client secret for authentication. Required for BaseAuth and ClientCredentials TMS types. Never returned.
Bearer token for authentication. Required for BearerToken TMS type (e.g., Collins). Never returned.
External identifier for the operator in the TMS system
- Livehttps://api.bookabletech.com/operators/{operatorId}/tms-credentials
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.bookabletech.com/operators/1/tms-credentials \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"tmsSlug": "CO",
"clientId": "44966392-f2d4-4929-8c9a-e87a0e7dc856",
"secretId": "LjjXs5$3M%Btx@tt",
"bearer": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
"externalOperatorId": "514ada610df690b6770000fd",
"active": true
}'TMS credentials successfully created
Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types.
Whether a client secret or bearer token is stored. The secret itself is never returned.
When the client secret or bearer token last changed; null when not known
External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string).
Timestamp when the connection was last updated
{ "operatorId": 1, "tmsId": 1, "tmsName": "Collins", "tmsSlug": "CO", "clientId": null, "hasSecret": true, "secretUpdatedAt": "2025-02-19T10:30:00Z", "externalOperatorId": "514ada610df690b6770000fd", "active": true, "createdAt": "2025-02-19T10:30:00Z", "updatedAt": "2025-02-19T10:30:00Z" }
- Livehttps://api.bookabletech.com/operators/{operatorId}/tms-credentials/{tmsId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.bookabletech.com/operators/1/tms-credentials/1 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'TMS credentials successfully retrieved
Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types.
Whether a client secret or bearer token is stored. The secret itself is never returned.
When the client secret or bearer token last changed; null when not known
External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string).
Timestamp when the connection was last updated
{ "operatorId": 1, "tmsId": 1, "tmsName": "Collins", "tmsSlug": "CO", "clientId": null, "hasSecret": true, "secretUpdatedAt": "2025-01-15T10:30:00Z", "externalOperatorId": "514ada610df690b6770000fd", "active": true, "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-02-10T14:20:00Z" }
Request
Update the credentials and settings of an existing TMS credentials for an operator. Bookable administrators and the operator's Admins only. Leave secretId or bearer out (or null) to keep the stored one; sending a new value changes secretUpdatedAt. The response never contains either.
Client ID for authentication. Required for BaseAuth and ClientCredentials TMS types.
Client secret for authentication. Leave out (or null) to keep the stored one. Never returned.
Bearer token for authentication. Leave out (or null) to keep the stored one. Never returned.
External identifier for the operator in the TMS system
- Livehttps://api.bookabletech.com/operators/{operatorId}/tms-credentials/{tmsId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api.bookabletech.com/operators/1/tms-credentials/1 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"clientId": "44966392-f2d4-4929-8c9a-e87a0e7dc856",
"secretId": "LjjXs5$3M%Btx@tt",
"bearer": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
"externalOperatorId": "514ada610df690b6770000fd",
"active": true
}'TMS credentials successfully updated
Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types.
Whether a client secret or bearer token is stored. The secret itself is never returned.
When the client secret or bearer token last changed; null when not known
External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string).
Timestamp when the connection was last updated
{ "operatorId": 1, "tmsId": 1, "tmsName": "Collins", "tmsSlug": "CO", "clientId": null, "hasSecret": true, "secretUpdatedAt": "2025-02-19T16:45:00Z", "externalOperatorId": "514ada610df690b6770000fd", "active": true, "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-02-19T16:45:00Z" }
- Livehttps://api.bookabletech.com/operators/{operatorId}/tms-credentials/{tmsId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api.bookabletech.com/operators/1/tms-credentials/1 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'TMS credentials successfully deleted
No content