Webhook

Webhooks overview

You host HTTPS endpoints on your infrastructure. Nuitee Cloud calls them during booking (price check) and when delivering reservations (push booking).

Register URLs with curl: Quick start — Step 4

Registering webhooks

Both registration endpoints accept:

{ "webhook": "https://your-domain.example/hp/callback" }
WebhookRegister viaStored as
Price checkPOST /push/webhook/availabilityAvailability / price-check URL on your API key
Push bookingPOST /push/webhook/pushbookPush-booking URL on your API key

Registering a URL only saves it on your API key. Implement and test the endpoint before go-live.

Which webhooks do I need?

flowchart TD
  Q[Live price validation at book time?]
  Q -->|Yes| A[Register POST /push/webhook/availability]
  Q -->|No| B[Confirm with onboarding]
  R[How do you receive reservations?]
  R -->|HTTP push| C[Register POST /push/webhook/pushbook]
  R -->|Pull API| D[GET /push/webhook/pushbook/retrieve if enabled]

Comparison

AspectPrice checkPush booking
RegistrationPOST /push/webhook/availabilityPOST /push/webhook/pushbook
When HP calls youDuring book flow (live validation)On reservation create/cancel + scheduled job
You returnLive price / availabilityACK / process reservation
DetailsPrice checkPush booking

Authentication

Send x-api-key when registering webhooks. For inbound calls from Nuitee Cloud to your URLs, confirm with onboarding whether Nuitee Cloud sends a signature, API key, or other auth.