Media
Return detailed information for property media.
Retrieve every image a property has, grouped by where it's used: the property banner, property-level photos, the header and footer images used in guest communication emails, and room type and extra photos.
sortOrder only appears on photos, and gives each photo's position in the gallery, starting at 1. A photo with no set position has sortOrder: null.
roomTypes.photos and extras.photos list the photos used across the property's room types and extras, with duplicates removed — they aren't tied to a specific room type or extra.
UUID for a property.
API key used to authenticate the request.
Successful operation
Not Authorised
Access Denied
The specified resource was not found
Rate Limited
Internal Server Error
GET /properties/{propertyUuid}/media HTTP/1.1
x-sm-api-key: text
Accept: */*
{
"banner": {
"url": "https://example.com/banner.jpg"
},
"photos": [
{
"url": "https://example.com/photo1.jpg",
"caption": "Hotel exterior at dusk",
"sortOrder": 1
}
],
"guestCommunications": {
"reservationConfirmation": {
"header": {
"url": "https://example.com/header.jpg"
},
"footer": null
},
"reservationModification": {
"header": null,
"footer": null
},
"reservationCancellation": {
"header": null,
"footer": null
},
"preArrival": {
"header": null,
"footer": null
},
"postDeparture": {
"header": null,
"footer": null
}
},
"roomTypes": {
"photos": [
{
"url": "https://example.com/room.jpg",
"caption": "Deluxe king, city view"
}
]
},
"extras": {
"photos": [
{
"url": "https://example.com/extra.jpg",
"caption": "Airport transfer"
}
]
}
}Last updated
Was this helpful?