Unit Photos
UnitPhoto objects represent top-level unit photos data from AppFolio®. Skywalk API allows you to obtain the following unit photos attributes from AppFolio®.
The UnitPhoto Object#
Attributes
appfolioIdstring
Unique AppFolio ID for unit.
Example:
"1234"
namestring
Name of unit. Often the unit number.
Example:
"Example Picture"
defaultboolean
Is photo the default.
Example:
true
url.originalstring
URL to original photo.
Example:
"https://<full url to image>/original.jpg"
url.smallstring
URL to small photo.
Example:
"https://<full url to image>/small.jpg"
url.mediumstring
URL to medium photo.
Example:
"https://<full url to image>/medium.jpg"
url.largestring
URL to large photo.
Example:
"https://<full url to image>/large.jpg"
The UnitPhoto Object
Get All UnitPhotos#
GET /v1/unit-photos?propertyId=<propertyId>&unitId=<unitId>
Follows: Authentication • Caching • Polling • List Response Format • Scheduled Job
The unit photos endpoint returns a list of photos for a given unit in your AppFolio® account. This endpoint should respond immediately with your most recently cached data.
Parameters#
propertyIdselect
AppFolio ID of a Property for the photos.
unitIdselect
AppFolio ID of a Unit for the photos.
Â
Returns#
The standard List Response Format with a data property containing an array of UnitPhoto objects.
GET /v1/unit-photos?propertyId=5&unitId=123
Response