Spotnana · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Trip PNRs API
13 actions
13 updates
phrasing
extends
openapi/spotnana-trip-pnrs-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 13
$.info
$.paths['/v3/trips/{tripId}/pnrs'].post
$.paths['/v3/trips/{tripId}/pnrs/{pnrId}'].get
$.paths['/v3/trips/{tripId}/pnrs/{pnrId}'].put
$.paths['/v3/trips/{tripId}/pnrs/{pnrId}/remarks'].post
$.paths['/v3/trips/{tripId}/pnrs/{pnrId}/finalize'].post
$.paths['/v3/trips/{tripId}/pnrs/{pnrId}/suspend'].post
$.paths['/v3/trips/{tripId}/pnrs/{pnrId}/cancel'].post
$.paths['/v2/trips/{tripId}/pnrs/{pnrId}/cancellation-details'].get
$.paths['/v2/trips/{tripId}/pnrs/{pnrId}/download-invoice'].post
$.paths['/v2/pnrs/{pnrId}/process-approval'].post
$.paths['/v2/pnrs'].get
$.paths['/v2/pnrs/search'].get
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 Trip PNRs API
version: 1.0.0
extends: openapi/spotnana-trip-pnrs-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: 12
- target: $.paths['/v3/trips/{tripId}/pnrs'].post
update:
x-apievangelist-phrasing:
intent: Create a booking PNR
effect: write
questions:
- How do I import a booking made outside Spotnana into a trip?
- Can I create a hotel or car PNR for a trip?
instructions:
- text: Create a PNR for trip {tripId} with travelers {pnrTravelers}.
slots:
tripId: path.tripId
pnrTravelers: requestBody.pnrTravelers
- text: Import booking {sourceInfo} into trip {tripId} as a PNR.
slots:
sourceInfo: requestBody.sourceInfo
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/pnrs/{pnrId}'].get
update:
x-apievangelist-phrasing:
intent: Get a PNR for a trip
effect: read
questions:
- What are the details of a booking PNR on a trip?
- Can I fetch one PNR by its ID?
instructions:
- text: Get PNR {pnrId} on trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
- text: Show the booking details for PNR {pnrId} in trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/pnrs/{pnrId}'].put
update:
x-apievangelist-phrasing:
intent: Update a PNR
effect: write
questions:
- How do I change the travelers on a booking PNR?
- Can I update the cost of goods sold on a PNR?
instructions:
- text: Update PNR {pnrId} on trip {tripId} with travelers {pnrTravelers}.
slots:
pnrId: path.pnrId
tripId: path.tripId
pnrTravelers: requestBody.pnrTravelers
- text: Change the cost of goods sold on PNR {pnrId} in trip {tripId} to {costOfGoodsSold}.
slots:
pnrId: path.pnrId
tripId: path.tripId
costOfGoodsSold: requestBody.costOfGoodsSold
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/pnrs/{pnrId}/remarks'].post
update:
x-apievangelist-phrasing:
intent: Add a remark to a PNR
effect: write
questions:
- How do I add a third-party remark to a booking PNR?
- Can I attach notes to a PNR?
instructions:
- text: Add remarks {remarks} to PNR {pnrId} on trip {tripId}.
slots:
remarks: requestBody.remarks
pnrId: path.pnrId
tripId: path.tripId
- text: Attach note {remarks} to booking PNR {pnrId} in trip {tripId}.
slots:
remarks: requestBody.remarks
pnrId: path.pnrId
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/pnrs/{pnrId}/finalize'].post
update:
x-apievangelist-phrasing:
intent: Finalize a PNR
effect: write
questions:
- How do I finalize a booking PNR so suppliers are notified?
- Can I set a finalize intent when finalizing a PNR?
instructions:
- text: Finalize PNR {pnrId} on trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
- text: Finalize PNR {pnrId} in trip {tripId} with intent {finalizeIntent}.
slots:
pnrId: path.pnrId
tripId: path.tripId
finalizeIntent: requestBody.finalizeIntent
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/pnrs/{pnrId}/suspend'].post
update:
x-apievangelist-phrasing:
intent: Suspend a PNR
effect: destructive
questions:
- How do I suspend a PNR so updates via OBT are restricted?
- Can I record a reason when suspending a booking PNR?
instructions:
- text: Suspend PNR {pnrId} on trip {tripId} because {reason}.
slots:
pnrId: path.pnrId
tripId: path.tripId
reason: requestBody.reason
- text: Put booking PNR {pnrId} in trip {tripId} into read-only.
slots:
pnrId: path.pnrId
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/pnrs/{pnrId}/cancel'].post
update:
x-apievangelist-phrasing:
intent: Cancel a PNR
effect: destructive
questions:
- How do I cancel a booking PNR?
- Can I cancel just part of a PNR, like one journey?
instructions:
- text: Cancel PNR {pnrId} on trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
- text: Cancel PNR {pnrId} in trip {tripId} with cancellation type {cancellationType}.
slots:
pnrId: path.pnrId
tripId: path.tripId
cancellationType: requestBody.cancellationType
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/trips/{tripId}/pnrs/{pnrId}/cancellation-details'].get
update:
x-apievangelist-phrasing:
intent: Get cancellation details for a PNR
effect: read
questions:
- What are the cancellation details for a booking PNR?
- Can I see refund details after a PNR was canceled?
instructions:
- text: Get cancellation details for PNR {pnrId} on trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
- text: Show refund details of PNR {pnrId} in trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/trips/{tripId}/pnrs/{pnrId}/download-invoice'].post
update:
x-apievangelist-phrasing:
intent: Download a PNR invoice
effect: read
questions:
- How do I download the invoice for a booking PNR?
- Can I get an invoice for a PNR on demand?
instructions:
- text: Download the invoice for PNR {pnrId} on trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
- text: Get the PNR invoice for booking {pnrId} in trip {tripId}.
slots:
pnrId: path.pnrId
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/pnrs/{pnrId}/process-approval'].post
update:
x-apievangelist-phrasing:
intent: Approve or decline a PNR
effect: write
questions:
- How do I approve a booking PNR?
- Can I decline a PNR that needs approval?
instructions:
- text: Approve PNR {pnrId} with response {approvalType}.
slots:
pnrId: path.pnrId
approvalType: requestBody.approvalType
- text: Decline PNR {pnrId} with response {approvalType}.
slots:
pnrId: path.pnrId
approvalType: requestBody.approvalType
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/pnrs'].get
update:
x-apievangelist-phrasing:
intent: Find a PNR by external ID
effect: read
questions:
- How do I find a PNR using an external booking ID?
- Can I get a trip ID from an external PNR number?
instructions:
- text: Find the PNR and trip for external ID {externalId}.
slots:
externalId: query.externalId
- text: Look up PNR {externalId} and return its trip ID.
slots:
externalId: query.externalId
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/pnrs/search'].get
update:
x-apievangelist-phrasing:
intent: Search PNRs by vendor confirmation
effect: read
questions:
- How do I find a booking PNR by its vendor confirmation number?
- Can I search PNRs by ticket number?
instructions:
- text: Search PNRs for {searchText} of type {inputType}.
slots:
searchText: query.searchText
inputType: query.inputType
- text: Find the booking PNR with vendor confirmation {searchText} ({inputType}).
slots:
searchText: query.searchText
inputType: query.inputType
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-trip-pnrs-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.