Spotnana · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Hotel API
10 actions
10 updates
phrasing
extends
openapi/spotnana-hotel-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Spotnana's API. It is a proposal applied on top of the contract, not a document Spotnana publishes.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/v2/hotel/search'].post
$.paths['/v2/hotel/details'].post
$.paths['/v2/hotel/price-check'].post
$.paths['/v2/hotel/validate-rebooking'].post
$.paths['/v2/hotel/create-pnr'].post
$.paths['/v2/hotel/pnrs/{pnrId}/cancel-pnr'].post
$.paths['/v2/hotel/pnrs/{pnrId}/modify-details'].post
$.paths['/v2/hotel/pnrs/{pnrId}/modify-book'].post
$.paths['/v2/hotel/ancillaries'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Hotel API
version: 1.0.0
extends: openapi/spotnana-hotel-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 9
- target: $.paths['/v2/hotel/search'].post
update:
x-apievangelist-phrasing:
intent: Search hotels for a trip
effect: read
questions:
- Which hotels are available for my business trip?
- Can I filter hotel search results by price or amenities?
instructions:
- text: Search hotels for user {userId} with {searchParams}.
slots:
userId: requestBody.userId
searchParams: requestBody.searchParams
- text: Find hotels matching {searchParams} for {userId} sorted by {sortOptions}.
slots:
searchParams: requestBody.searchParams
userId: requestBody.userId
sortOptions: requestBody.sortOptions
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/details'].post
update:
x-apievangelist-phrasing:
intent: Get details of one hotel
effect: read
questions:
- What are the room types and amenities at a specific hotel?
- Can I see hotel details for a date range?
instructions:
- text: Get details for hotel {hotelDetailsKey}.
slots:
hotelDetailsKey: requestBody.hotelDetailsKey
- text: Show hotel {hotelDetailsKey} details for {occupancyDates}.
slots:
hotelDetailsKey: requestBody.hotelDetailsKey
occupancyDates: requestBody.occupancyDates
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/price-check'].post
update:
x-apievangelist-phrasing:
intent: Check if a hotel price changed
effect: read
questions:
- Has the price of the hotel I selected changed since I last checked?
- Can I validate the original hotel price?
instructions:
- text: Check the price of hotel {priceValidateKey}.
slots:
priceValidateKey: requestBody.priceValidateKey
- text: Validate hotel {priceValidateKey} price for trip {tripId}.
slots:
priceValidateKey: requestBody.priceValidateKey
tripId: requestBody.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/validate-rebooking'].post
update:
x-apievangelist-phrasing:
intent: Check if a hotel rebooking saves money
effect: read
questions:
- Can I rebook my hotel for a lower price?
- Is a price-optimized rebooking possible for this booking?
instructions:
- text: Validate rebooking for hotel {cancelSourcePnrId} on trip {tripId} for {travelers}.
slots:
cancelSourcePnrId: requestBody.cancelSourcePnrId
tripId: requestBody.tripId
travelers: requestBody.travelers
- text: Check if rebooking {cancelSourcePnrId} saves money.
slots:
cancelSourcePnrId: requestBody.cancelSourcePnrId
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/create-pnr'].post
update:
x-apievangelist-phrasing:
intent: Book a hotel room
effect: write
questions:
- How do I book a hotel room for my trip?
- Can I add special requests and ancillaries when booking a hotel?
instructions:
- text: Book hotel {bookingKey} for {travelers} on {tripData} with payment {bookingPaymentDetails} and contact {bookingContact}.
slots:
bookingKey: requestBody.bookingKey
travelers: requestBody.travelers
tripData: requestBody.tripData
bookingPaymentDetails: requestBody.bookingPaymentDetails
bookingContact: requestBody.bookingContact
- text: Create a hotel booking {bookingKey} for {travelers} on {tripData} with payment {bookingPaymentDetails}, contact {bookingContact} and ancillaries {ancillaryKeys}.
slots:
bookingKey: requestBody.bookingKey
travelers: requestBody.travelers
tripData: requestBody.tripData
bookingPaymentDetails: requestBody.bookingPaymentDetails
bookingContact: requestBody.bookingContact
ancillaryKeys: requestBody.ancillaryKeys
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/pnrs/{pnrId}/cancel-pnr'].post
update:
x-apievangelist-phrasing:
intent: Cancel a hotel booking
effect: destructive
questions:
- How do I cancel a hotel booking by PNR?
- What happens to the PNR when a hotel booking is cancelled?
instructions:
- text: Cancel hotel PNR {pnrId}.
slots:
pnrId: path.pnrId
- text: Delete booking PNR {pnrId} and send payment verification {postPaymentVerificationInfo}.
slots:
pnrId: path.pnrId
postPaymentVerificationInfo: requestBody.postPaymentVerificationInfo
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/pnrs/{pnrId}/modify-details'].post
update:
x-apievangelist-phrasing:
intent: Change dates or room type on a hotel booking
effect: write
questions:
- Can I change the dates or room type on my hotel booking?
- What modifications are available for an existing hotel booking?
instructions:
- text: Modify the dates on hotel booking {pnrId} to {occupancyDates}.
slots:
pnrId: path.pnrId
occupancyDates: requestBody.occupancyDates
- text: Change the room type on hotel {pnrId} to {occupancyDates}.
slots:
pnrId: path.pnrId
occupancyDates: requestBody.occupancyDates
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/pnrs/{pnrId}/modify-book'].post
update:
x-apievangelist-phrasing:
intent: Confirm changes to a hotel booking
effect: write
questions:
- How do I confirm the new dates or room type on my hotel booking?
- Can I change the travelers on a booking I already made?
instructions:
- text: Confirm changes on hotel booking {pnrId} with {travelers} on {tripData}, contact {bookingContact}, booking {bookingKey}.
slots:
pnrId: path.pnrId
travelers: requestBody.travelers
tripData: requestBody.tripData
bookingContact: requestBody.bookingContact
bookingKey: requestBody.bookingKey
- text: Apply the modified dates to hotel {pnrId} using booking {bookingKey}, travelers {travelers}, trip {tripData}, contact {bookingContact}.
slots:
pnrId: path.pnrId
bookingKey: requestBody.bookingKey
travelers: requestBody.travelers
tripData: requestBody.tripData
bookingContact: requestBody.bookingContact
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/hotel/ancillaries'].post
update:
x-apievangelist-phrasing:
intent: List add-on services for a hotel booking
effect: read
questions:
- What breakfast, parking or spa add-ons are available for my hotel booking?
- Can I see the extras I can add to a hotel room?
instructions:
- text: List ancillaries for hotel {priceValidateKey}.
slots:
priceValidateKey: requestBody.priceValidateKey
- text: Show add-on services available for booking {priceValidateKey}.
slots:
priceValidateKey: requestBody.priceValidateKey
method: generated
generated: '2026-11-23'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/spotnana-hotel-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
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.
A second provider on the same verified email joins the account you already have.