v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Property Photos

Add new photos to property

Upload new property photos using URLs. Ensure the repositories are accessible to Guesty.

post/properties-api/property-photos/property-photos/{propertyId}

Path parameters

propertyIdstring required

Guesty property ID.

Request body

urlstring uri
captionstring

Example request

[
  {
    "url": "https://example.com/image.jpg",
    "caption": "Patio"
  }
]

Response

Returns a list of all the property's photos.

_idstring
sourcestring
originalstring

Full size property photo

thumbnailstring

Thumbnail of property photo

captionstring

Caption of photo

indexnumber

Order of photo

createdAtstring date-time
updatedAtstring date-time