Docs/Webhooks/Reservation

reservation.created

Fired when a new reservation is created from any platform (Airbnb, Booking.com, VRBO, direct).

Payload

{
  "event": "reservation.created",
  "timestamp": "2026-04-04T12:00:00Z",
  "data": {
    "id": "215906",
    "listingId": 6250,
    "platform": "airbnb",
    "confirmationCode": "HMA1234567",
    "status": "confirmed",
    "checkIn": "2026-06-01",
    "checkOut": "2026-06-05",
    "guestDetails": {
      "firstName": "Sarah",
      "lastName": "Chen",
      "email": "sarah@example.com",
      "adults": 2, "children": 0
    },
    "totalPrice": "1250.00",
    "currency": "USD"
  }
}

Handler Example

// Handle reservation.created webhook
app.post('/webhooks/repull', (req, res) => {
  const { event, data } = req.body
  if (event === 'reservation.created') {
    console.log('New booking:', data.confirmationCode, data.platform)
    // Sync to your system, send notification, etc.
  }
  res.sendStatus(200)
})

Tip: Always return a 200 status code to acknowledge receipt. Failed deliveries are retried 3 times with exponential backoff.Learn more about webhook reliability →

AI