Create a Booking
Create new reservations programmatically — direct bookings, owner blocks, or maintenance holds.
POST
/v1/reservationsCreate a new reservation
Body Parameters
propertyIdstringRequiredProperty ID
checkIndateRequiredCheck-in date (YYYY-MM-DD)
checkOutdateRequiredCheck-out date (YYYY-MM-DD)
primaryGuestobjectRequired{ firstName, lastName?, email?, phone? }
occupancyobject{ adults, children, infants, pets }
financialsobject{ totalPrice, currency }
sourcestringAIRBNB, 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