Endpoints
API endpoints for sending booking events.
Booking event endpoints
All endpoints accept POST requests with either application/json or application/x-www-form-urlencoded body.
Create booking event
POST https://webhook.production.holibob.tech/booking-event/create/{secret}
Notify about booking creation
Request body: See Data model for the full BookingInput schema.
Responses:
| Status | Description |
|---|---|
| 200 | Success |
| 403 | Returned when provided secret is invalid |
| 422 | Returned when one of validation rules has been violated |
Update booking event
POST https://webhook.production.holibob.tech/booking-event/update/{secret}
Notify about booking update.
Endpoint does not support partial updates therefore we expect full payload to be sent, not just the updated data.
Request body: See Data model for the full BookingInput schema.
Responses:
| Status | Description |
|---|---|
| 200 | Success |
| 403 | Returned when provided secret is invalid |
| 422 | Returned when one of validation rules has been violated |
Delete booking event
POST https://webhook.production.holibob.tech/booking-event/delete/{secret}
Notify about booking deletion
Request body: See Data model for the BookingReference schema.
Responses:
| Status | Description |
|---|---|
| 200 | Success |
| 403 | Returned when provided secret is invalid |
| 422 | Returned when one of validation rules has been violated |