Operations related to webhook management
Register to Webhook Events API (1.3.0)
The Webhook APIs is a REST API designed to manage webhooks for booking notifications. It allows partners to register, update, and delete webhook endpoints, enabling them to receive real-time booking event updates.
Once a callback URL is registered, Bookable POSTs a JSON BookingNotification to it for each event. Delivery is at-least-once: the same event may be delivered more than once, so consumers must be idempotent (booking events by booking id, messages by message id).
Each request carries an X-API-Key header containing a lowercase hex HMAC-SHA256 signature of the raw request body, keyed with the secretKey returned at registration. Verify it by recomputing the HMAC over the received body and comparing.
Event types (eventType):
booking.updated— a booking was created or changed (payload inbookings).message.received— one or more messages for a booking (payload inmessages). Emitted only foroperator_to_partnermessages (the venue operator sent it, delivered to the partner); filter onsubject/senderEmail.
- Livehttps://api.bookabletech.com/webhooks
- Sandboxhttps://api-sandbox.bookabletech.com/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.bookabletech.com/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callbackUrl": "https://partner.example.com/webhooks/bookings"
}'{ "secretKey": "123e4567-e89b-12d3-a456-426655440000", "callbackUrl": "https://partner.example.com/webhooks/bookings" }
- Livehttps://api.bookabletech.com/webhooks
- Sandboxhttps://api-sandbox.bookabletech.com/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api.bookabletech.com/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callbackUrl": "https://partner.example.com/webhooks/bookings"
}'- Livehttps://api.bookabletech.com/webhooks
- Sandboxhttps://api-sandbox.bookabletech.com/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api.bookabletech.com/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Request
Deprecated — scheduled for removal in 2.0.0.
Delivers a synthetic booking.updated notification (a sample booking) to your registered callbackUrl, signed with X-API-Key exactly like a real event, so you can verify your endpoint and HMAC handling. It is not tied to any real booking.
For ongoing integration testing use the sandbox self-echo flow instead: in the sandbox environment every booking you create, amend, or cancel automatically fires the corresponding webhook to your registered sandbox callback URL — no separate trigger needed.
- Livehttps://api.bookabletech.com/webhooks/test
- Sandboxhttps://api-sandbox.bookabletech.com/webhooks/test
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.bookabletech.com/webhooks/test \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "message": "Test webhook event delivered to the registered callback URL", "eventId": "evt_test_123e4567" }