Generated by API Evangelist
Written by API Evangelist tooling for Expedia Group's API. It is a proposal applied on top of the contract, not a document Expedia Group publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Expedia Group Rapid Bookings API
version: 1.0.0
extends: openapi/expedia-group-bookings-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['/payment-sessions'].post
update:
x-apievangelist-phrasing:
intent: Register payment details for a booking
effect: write
questions:
- How do I get a payment session ID to pay for a booking?
- Can I register a customer's card before booking, and how do I pass their IP and browser metadata?
instructions:
- text: Register payment session {version} with browser header {browser_header} and metadata {metadata} for customer {ip}, merchant {merchant}.
slots:
version: requestBody.version
browser_header: requestBody.browser_accept_header
metadata: requestBody.encoded_browser_metadata
ip: header.Customer-Ip
merchant: requestBody.merchant_url
- text: Start a payment session with {payments} for booking token {token} from IP {ip}.
slots:
payments: requestBody.payments
token: query.token
ip: header.Customer-Ip
method: generated
generated: '2026-11-18'
- target: $.paths['/itineraries'].post
update:
x-apievangelist-phrasing:
intent: Create a booking from a payment session
effect: write
questions:
- How do I turn a payment session into a confirmed booking?
- Can I put a new booking on hold and set the hold period?
instructions:
- text: Create booking {email} with rooms {rooms} from payment session token {token}, IP {ip}.
slots:
email: requestBody.email
rooms: requestBody.rooms
token: query.token
ip: header.Customer-Ip
- text: Book rooms {rooms} for {email} with payments {payments} and hold {hold} from token {token}, IP {ip}.
slots:
rooms: requestBody.rooms
email: requestBody.email
payments: requestBody.payments
hold: requestBody.hold
token: query.token
ip: header.Customer-Ip
method: generated
generated: '2026-11-18'
- target: $.paths['/itineraries/{itinerary_id}'].put
update:
x-apievangelist-phrasing:
intent: Resume a held booking
effect: write
questions:
- How do I let a guest finish a booking they left on hold?
- Can I resume a held booking with a token?
instructions:
- text: Resume the held booking {itinerary_id} with token {token}.
slots:
itinerary_id: path.itinerary_id
token: query.token
- text: Let the guest finish their held booking {itinerary_id} using token {token}.
slots:
itinerary_id: path.itinerary_id
token: query.token
method: generated
generated: '2026-11-18'
- target: $.paths['/itineraries/{itinerary_id}/payment-sessions'].put
update:
x-apievangelist-phrasing:
intent: Complete a payment session
effect: write
questions:
- How do I finalize a booking after the guest finishes 2FA?
- Can I complete a payment session on a held booking?
instructions:
- text: Complete the payment session for booking {itinerary_id} with token {token}.
slots:
itinerary_id: path.itinerary_id
token: query.token
- text: Finalize the booking {itinerary_id} after 2FA using token {token}.
slots:
itinerary_id: path.itinerary_id
token: query.token
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.