Create a Booking

Create new reservations programmatically — direct bookings, owner blocks, or maintenance holds.

POST/v1/reservations

Create a new reservation

Body Parameters

propertyIdstringRequired

Property ID

checkIndateRequired

Check-in date (YYYY-MM-DD)

checkOutdateRequired

Check-out date (YYYY-MM-DD)

primaryGuestobjectRequired

{ firstName, lastName?, email?, phone? }

occupancyobject

{ adults, children, infants, pets }

financialsobject

{ totalPrice, currency }

sourcestring

AIRBNB, BOOKING_COM, VRBO, DIRECT, MANUAL

Request

curl -X POST https://api.repull.dev/v1/reservations \
  -H "Authorization: Bearer sk_test_YOUR_KEY" \
  -H "X-Workspace-Id: YOUR_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "propertyId": "value",
  "checkIn": "...",
  "checkOut": "...",
  "primaryGuest": {},
  "occupancy": {},
  "financials": {},
  "source": "value"
}'

Response

{ "data": { "id": "789", "propertyId": "123", "status": "CONFIRMED", "confirmationCode": "DOM-ABC123", ... } }
AI