Get several units by id
Fetches up to 100 hydrated units in one call. Every id must exist and belong to the company — one bad id fails the whole call.
Authorization
AuthorizationstringrequiredQuery parameters
unitIdsstring[]requiredThe units to fetch. Give them comma-separated (unitIds=1830472847398404098,1830472847398404099) or repeat the parameter. At least 1 and at most 100 ids, each a positive decimal Snowflake.
Response
200 · A JSON array of hydrated units. The fields below describe one element.
idstringSnowflake id of the unit.
namestringThe unit's name — typically its number or letter, for example "2B". For a single-unit property this is often "Home".
addressobjectAn address that overrides the property's, for a unit with its own street address. Absent when the unit uses the property address, which is the usual case.
bedsnumberBedrooms. Whole or half numbers only. Absent when it was never set.
bathsnumberBathrooms. Whole or half numbers only. Absent when it was never set.
unitSizeSqftintegerFloor area in square feet. Absent when it was never set.
marketRentnumberThe rent this unit is expected to fetch, as a decimal amount such as 1850.00. This is an asking figure on the unit, not the rent on any lease. Absent when it was never set.
floorintegerWhich floor the unit is on, 1 to 200. Absent when it was never set.
propertyIdstringThe property this unit belongs to.
portfolioIdstringThe portfolio the unit's property belongs to. Kept in step with the property.
activebooleanfalse once the unit has been deactivated.
imageIdstringThe file behind the unit's main photo. Absent when no photo has been set.
iconsstring[]Icon keys pinned to the unit. Free-form strings.
magicTagsobjectFree-form labels on the unit, as a map of string keys to string values. Absent when none are set.
imageobjectThe unit's main photo, resolved from imageId. Absent when no photo has been set.
propertyobjectThe property this unit belongs to, expanded.
activeLeasesLease[]The leases currently running on this unit, in the same shape the leases endpoints return. Usually zero or one; more than one appears when leases overlap. Empty for a vacant unit.
postedBalancenumberComputed: what the unit's leases owe, counting only charges that have already been posted.
singleLineAddressstringComputed one-line address for the unit: the unit's own address if it has one, otherwise the property's address with the unit name appended. The unit name is left off for a single-unit property. Absent when neither the unit nor the property has an address.
recentRentalApplicationsintegerComputed: how many distinct rental applications that have not been retracted named this unit in the recent window.
latestRentalApplicationIdstringThe most recent rental application, not retracted, that named this unit. Absent when nobody has applied.