Set one webhook address in Settings. Bookzo sends a POST for booking.created, booking.rescheduled and booking.cancelled. Each event is sent once, with an 8 second time limit and without following redirects.
Payload
POST /your-endpoint
x-bookzo-signature: 9f2c...
{"event":"booking.created","sent":"2027-01-10T04:12:00.000Z",
"booking":{ ...the booking object from GET /bookings... }}Verify the signature
The x-bookzo-signature header is the hex HMAC-SHA256 of the raw request body, using your webhook secret. Check it on the raw bytes, before you parse the JSON.
const crypto = require("crypto");
function fromBookzo(rawBody, header, secret) {
const expected = crypto.createHmac("sha256", secret)
.update(rawBody).digest("hex");
const a = Buffer.from(expected), b = Buffer.from(header || "");
return a.length === b.length && crypto.timingSafeEqual(a, b);
}import hmac, hashlib
def from_bookzo(raw_body, header, secret):
expected = hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, header or "")Respond quickly
Bookzo waits up to 8 seconds and sends each event once, so do slow work after you answer. You can always read bookings later with GET /api/v1/bookings.
The rest of the reference
Authentication
How to get a token and call the API.
GET /api/v1/me
Your profile and plan.
GET /api/v1/event_types
List your event types.
GET /api/v1/availability
Open start times for an event type.
GET /api/v1/bookings
List bookings by status.
POST /api/v1/bookings/{token}/cancel
Cancel a booking.
Webhooks
Be told when a booking changes.