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.
- Delete the webhook for a specific distributor
Register a webhook endpoint for booking notifications
Update the webhook callback URL of the specific distributor logged
Trigger a test webhook event
Delete the webhook for a...
Register to Webhook Events API (1.1.0)
Download OpenAPI description
Overview
URL
Bookable
Languages
Servers
Staging
https://api-staging.bookabletech.com/
Production
https://api.bookabletech.com/
- Staginghttps://api-staging.bookabletech.com/webhooks
- Productionhttps://api.bookabletech.com/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-staging.bookabletech.com/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callbackUrl": "https://partner.example.com/webhooks/bookings"
}'Response
application/json
{ "secretKey": "123e4567-e89b-12d3-a456-426655440000", "callbackUrl": "https://partner.example.com/webhooks/bookings" }
- Staginghttps://api-staging.bookabletech.com/webhooks
- Productionhttps://api.bookabletech.com/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api-staging.bookabletech.com/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callbackUrl": "https://partner.example.com/webhooks/bookings"
}'- Staginghttps://api-staging.bookabletech.com/webhooks
- Productionhttps://api.bookabletech.com/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api-staging.bookabletech.com/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'- Staginghttps://api-staging.bookabletech.com/webhooks/test
- Productionhttps://api.bookabletech.com/webhooks/test
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-staging.bookabletech.com/webhooks/test \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "message": "Test webhook event has been queued for delivery", "eventId": "evt_test_123e4567" }