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

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

List TMS credentials for an operator

Request

Retrieve all TMS credentials associated with a specific operator. Bookable administrators and the operator's Admins only.

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/tms-credentials \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

List of TMS credentials successfully retrieved

Headers
X-RateLimit-Limitinteger

Maximum number of requests allowed per window.

Example: 200
X-RateLimit-Remaininginteger

Number of requests remaining in the current window.

Example: 150
X-RateLimit-Resetinteger(int64)

Unix timestamp (seconds since epoch) when the current rate-limit window resets.

Example: 1741651200
Bodyapplication/jsonArray [
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

Example: 1
tmsNamestringrequired

The name of the TMS

Example: "Collins"
tmsSlugstringrequired

The slug identifier of the TMS

Example: "CO"
activebooleanrequired

Whether this TMS credentials is currently active

Example: true
createdAtstring(date-time)

Timestamp when the connection was created

Example: "2025-01-15T10:30:00Z"
updatedAtstring(date-time)

Timestamp when the connection was last updated

Example: "2025-02-10T14:20:00Z"
]
Response
application/json
[ { "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" } ]

Create TMS credentials for an operator

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.

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

The unique identifier of the operator

Example: 1
Bodyapplication/jsonrequired
tmsSlugstringrequired

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)
Enum"CO""SR""ZO"
Example: "CO"
clientIdstring or null

Client ID for authentication. Required for BaseAuth and ClientCredentials TMS types.

Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856"
secretIdstring or nullwrite-only

Client secret for authentication. Required for BaseAuth and ClientCredentials TMS types. Never returned.

Example: "LjjXs5$3M%Btx@tt"
bearerstring or nullwrite-only

Bearer token for authentication. Required for BearerToken TMS type (e.g., Collins). Never returned.

Example: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
externalOperatorIdstringrequired

External identifier for the operator in the TMS system

Example: "514ada610df690b6770000fd"
activebooleanrequired

Whether this TMS credentials should be active

Example: true
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
  }'

Responses

TMS credentials successfully created

Headers
X-RateLimit-Limitinteger

Maximum number of requests allowed per window.

Example: 200
X-RateLimit-Remaininginteger

Number of requests remaining in the current window.

Example: 150
X-RateLimit-Resetinteger(int64)

Unix timestamp (seconds since epoch) when the current rate-limit window resets.

Example: 1741651200
Bodyapplication/json
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

Example: 1
tmsNamestringrequired

The name of the TMS

Example: "Collins"
tmsSlugstringrequired

The slug identifier of the TMS

Example: "CO"
clientIdstring or null

Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types.

Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856"
hasSecretbooleanrequired

Whether a client secret or bearer token is stored. The secret itself is never returned.

Example: true
secretUpdatedAtstring or null(date-time)

When the client secret or bearer token last changed; null when not known

Example: "2025-02-10T14:20:00Z"
externalOperatorIdstringrequired

External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string).

Example: "514ada610df690b6770000fd"
activebooleanrequired

Whether this TMS credentials is currently active

Example: true
createdAtstring(date-time)

Timestamp when the connection was created

Example: "2025-01-15T10:30:00Z"
updatedAtstring(date-time)

Timestamp when the connection was last updated

Example: "2025-02-10T14:20:00Z"
messagestring or null

extra notes

Example: "sync will start at 6am the next day as per Zonal rules"
Response
application/json
{ "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" }

Get a specific TMS credentials

Request

Retrieve the details of a specific TMS credentials for an operator, without its secret: hasSecret and secretUpdatedAt say whether one is stored and when it last changed. Bookable administrators and the operator's Admins only.

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

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

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

Responses

TMS credentials successfully retrieved

Headers
X-RateLimit-Limitinteger

Maximum number of requests allowed per window.

Example: 200
X-RateLimit-Remaininginteger

Number of requests remaining in the current window.

Example: 150
X-RateLimit-Resetinteger(int64)

Unix timestamp (seconds since epoch) when the current rate-limit window resets.

Example: 1741651200
Bodyapplication/json
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

Example: 1
tmsNamestringrequired

The name of the TMS

Example: "Collins"
tmsSlugstringrequired

The slug identifier of the TMS

Example: "CO"
clientIdstring or null

Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types.

Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856"
hasSecretbooleanrequired

Whether a client secret or bearer token is stored. The secret itself is never returned.

Example: true
secretUpdatedAtstring or null(date-time)

When the client secret or bearer token last changed; null when not known

Example: "2025-02-10T14:20:00Z"
externalOperatorIdstringrequired

External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string).

Example: "514ada610df690b6770000fd"
activebooleanrequired

Whether this TMS credentials is currently active

Example: true
createdAtstring(date-time)

Timestamp when the connection was created

Example: "2025-01-15T10:30:00Z"
updatedAtstring(date-time)

Timestamp when the connection was last updated

Example: "2025-02-10T14:20:00Z"
messagestring or null

extra notes

Example: "sync will start at 6am the next day as per Zonal rules"
Response
application/json
{ "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" }

Update TMS credentials

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.

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

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

Example: 1
Bodyapplication/jsonrequired
clientIdstring or null

Client ID for authentication. Required for BaseAuth and ClientCredentials TMS types.

Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856"
secretIdstring or nullwrite-only

Client secret for authentication. Leave out (or null) to keep the stored one. Never returned.

Example: "LjjXs5$3M%Btx@tt"
bearerstring or nullwrite-only

Bearer token for authentication. Leave out (or null) to keep the stored one. Never returned.

Example: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
externalOperatorIdstringrequired

External identifier for the operator in the TMS system

Example: "514ada610df690b6770000fd"
activebooleanrequired

Whether this TMS credentials should be active

Example: true
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
  }'

Responses

TMS credentials successfully updated

Headers
X-RateLimit-Limitinteger

Maximum number of requests allowed per window.

Example: 200
X-RateLimit-Remaininginteger

Number of requests remaining in the current window.

Example: 150
X-RateLimit-Resetinteger(int64)

Unix timestamp (seconds since epoch) when the current rate-limit window resets.

Example: 1741651200
Bodyapplication/json
operatorIdintegerrequired

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

Example: 1
tmsNamestringrequired

The name of the TMS

Example: "Collins"
tmsSlugstringrequired

The slug identifier of the TMS

Example: "CO"
clientIdstring or null

Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types.

Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856"
hasSecretbooleanrequired

Whether a client secret or bearer token is stored. The secret itself is never returned.

Example: true
secretUpdatedAtstring or null(date-time)

When the client secret or bearer token last changed; null when not known

Example: "2025-02-10T14:20:00Z"
externalOperatorIdstringrequired

External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string).

Example: "514ada610df690b6770000fd"
activebooleanrequired

Whether this TMS credentials is currently active

Example: true
createdAtstring(date-time)

Timestamp when the connection was created

Example: "2025-01-15T10:30:00Z"
updatedAtstring(date-time)

Timestamp when the connection was last updated

Example: "2025-02-10T14:20:00Z"
messagestring or null

extra notes

Example: "sync will start at 6am the next day as per Zonal rules"
Response
application/json
{ "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" }

Delete TMS credentials

Request

Remove a TMS credentials from an operator. Bookable administrators and the operator's Admins only.

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

The unique identifier of the operator

Example: 1
tmsIdintegerrequired

The unique identifier of the TMS

Example: 1
curl -i -X DELETE \
  https://api.bookabletech.com/operators/1/tms-credentials/1 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

TMS credentials successfully deleted

Headers
X-RateLimit-Limitinteger

Maximum number of requests allowed per window.

Example: 200
X-RateLimit-Remaininginteger

Number of requests remaining in the current window.

Example: 150
X-RateLimit-Resetinteger(int64)

Unix timestamp (seconds since epoch) when the current rate-limit window resets.

Example: 1741651200
Response
No content