Booking.com Content & Photos
Read and update photos, descriptions, amenities, facilities, and policies for your Booking.com properties. Booking.com reviews text changes before they appear.
POST
/v1/channels/booking/contentParameters
property_idstringRequiredBooking.com property id, connected to your workspace.
typestringRequiredphotos | descriptions | amenities | facilities | policies
room_idstringTarget one room instead of the property (photos, descriptions, amenities).
Scope
- Scoped to your workspace: a Booking.com property id that is not connected to your workspace returns
404 not_found, the same answer as an id that does not exist.
Example
# Read photos
curl "https://api.repull.dev/v1/channels/booking/content?property_id=1234567&type=photos" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
# Upload photos
curl -X POST https://api.repull.dev/v1/channels/booking/content \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"property_id": "1234567", "type": "photos", "photos": [{"url": "https://example.com/living-room.jpg", "caption": "Living room"}]}'
# Update the property description
curl -X POST https://api.repull.dev/v1/channels/booking/content \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"property_id": "1234567", "type": "descriptions", "descriptions": [{"language": "en", "text": "Beachfront villa with a private pool."}]}'AI