Skip to Content

Units

A unit is an individual rentable space. Units usually belong to a floorplan, but floorplanId is optional, so a unit can sit directly on a property. Units carry their own bedrooms, bathrooms, and squareFeet; provide these especially when there is no floorplan to describe the unit.

Fields

FieldTypeWritableDescription
idnumberread-onlyRentSimple identifier
propertyIdnumbercreate-onlyThe property this unit belongs to
floorplanIdnumbercreate-onlyOptional; must be a floorplan under the same property
unitNumberstringrequiredUnit label as shown to prospects (e.g. 204)
availablebooleanoptionalWhether the unit is on the market; defaults to false
availableOnstringoptionalISO-8601 date, earliest move-in. Omit if available now
rentnumberoptionalAdvertised monthly rent in whole dollars. Without it, the agent cannot quote pricing for this unit
bedroomsnumberoptionalBedroom count (0 for studio)
bathroomsnumberoptionalBathroom count (halves allowed)
squareFeetnumberoptionalInterior size
floornumberoptionalFloor the unit is on
descriptionstringoptionalShown to prospects and used by the agent
amenitiesstring[]optionalUnit features (e.g. ["Balcony", "Dishwasher"])
imagesstring[]optionalImage URLs
externalIdstringoptionalYour own identifier
createdAt / updatedAtstringread-onlyISO-8601 timestamps

List filters:

  • propertyId
  • floorplanId
  • available (boolean)
  • availableBy (ISO-8601 date; available units with availableOn on or before this date)

Example: take a unit off the market

This is the call you will make most, flipping availability and adjusting pricing as things change on your side.

Request
curl -X PATCH https://rentsimple.ai/api/v1/units/90211 \ -H "Authorization: Bearer $RENTSIMPLE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "available": false }'

Prefer PATCH over DELETE

Prefer PATCH over DELETE. Deletion removes the unit from the agent’s knowledge entirely, while an unavailable unit keeps its history and comes back with a single PATCH.

Last updated on