Generated by API Evangelist
Written by API Evangelist tooling for Booking.com's API. It is a proposal applied on top of the contract, not a document Booking.com publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Property Details API
version: 1.0.0
extends: openapi/booking-com-property-details-api-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/properties'].post
update:
x-apievangelist-phrasing:
intent: Create a property
effect: write
questions:
- How do I add a new hotel property to Booking.com?
- What do I need to provide to create a property, like name, address and room count?
instructions:
- text: Create a {target} property {property_name} at {physical_address} with {room_count} rooms.
slots:
target: requestBody.target
property_name: requestBody.property_name
physical_address: requestBody.physical_address
room_count: requestBody.room_count
- text: Add property {property_name} with check-in {check_in} and {room_count} rooms.
slots:
property_name: requestBody.property_name
check_in: requestBody.check_in
room_count: requestBody.room_count
method: generated
generated: '2026-11-18'
- target: $.paths['/properties/{propertyId}'].get
update:
x-apievangelist-phrasing:
intent: Get a property's details
effect: read
questions:
- What are the details of a property I created?
- Can I look up one property by its ID?
instructions:
- text: Get property {propertyId}.
slots:
propertyId: path.propertyId
- text: Show the details of property {propertyId}.
slots:
propertyId: path.propertyId
method: generated
generated: '2026-11-18'
- target: $.paths['/properties/{propertyId}'].patch
update:
x-apievangelist-phrasing:
intent: Update a property's details
effect: write
questions:
- Can I change the name or address of an existing property?
- How do I update the check-in time on a property?
instructions:
- text: Update property {propertyId} to name {property_name}, address {physical_address}, check-in {check_in}, {room_count} rooms.
slots:
propertyId: path.propertyId
property_name: requestBody.property_name
physical_address: requestBody.physical_address
check_in: requestBody.check_in
room_count: requestBody.room_count
- text: Change the check-in time of property {propertyId} to {check_in}.
slots:
propertyId: path.propertyId
check_in: requestBody.check_in
method: generated
generated: '2026-11-18'
- target: $.paths['/meta'].get
update:
x-apievangelist-phrasing:
intent: Get property metadata
effect: read
questions:
- What property categories and languages can I use when creating a property?
- Where do I find the valid values for property metadata?
instructions:
- text: Get property metadata.
- text: List the valid property categories and languages for properties.
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.