Skip to content

API reference

Connect your systems to your agency’s clients, travellers, trips, quotes, bookings and live hotels. Every call runs with the access of the key you issue, within its permissions and request limits.

Version 2.8.0Base URLhttps://app.voyage.house/api/v1Open the OpenAPI document

Get access

Choose how your integration signs in. Every route below needs one of these credentials.

  • Principal API keyThe agency Principal issues an API key under Integrations in the agency menu and chooses its permissions. Send it as a Bearer token on every call.Manage API keys
  • OAuth clientFor a server-to-server integration, the Principal creates an OAuth client under Integrations. Exchange its client ID and secret at the token endpoint (client credentials grant) for a 15-minute access token:https://app.voyage.house/api/auth/oauth2/token
  • Claude or ChatGPT, without a keyAny advisor can connect Claude or ChatGPT by signing in, with no API key. See Connect Claude or ChatGPT below.

HTTP quick start

Call the endpoints below over HTTPS with an API key as a Bearer token. List your clients, then make one write with an Idempotency-Key so a retry never repeats it. No package or library is needed; you can also generate a client from the OpenAPI document.

# Load the key you issued under Integrations from your own secret store.
curl "https://app.voyage.house/api/v1/clients?limit=10" \
  -H "Authorization: Bearer $API_KEY"

# Writes need a stable key: a retry with it never repeats the change.
curl -X POST "https://app.voyage.house/api/v1/clients" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: create-client-7c1e5f0a" \
  -d '{ "firstName": "Ada", "lastName": "Example" }'

The OpenAPI 3.1 description of every endpoint below. Load it into an API client or a code generator.

Authentication

Send an API key from Integrations in the agency menu as a Bearer token in the Authorization header. OAuth clients exchange their credentials at the token endpoint for 15-minute access tokens. Browser cookies never authenticate API calls.

Authorization: Bearer vh_…

Each key carries explicit permissions such as client:read or quote:update. A call outside them is refused with insufficient-scope, and client-site keys never reach CRM, quote or booking data. Agency context and rate programmes need a valid key but no specific permission.

API keys are issued by the agency Principal under Integrations in the agency menu. Only the advisor who owns a quote can send it, so a key gets resource-not-found (404) when it sends another advisor’s quote, by design; that advisor sends it in the app or through an AI app they connected.

Safe retries

Every POST, PATCH and DELETE needs an Idempotency-Key header of 1–255 characters. Repeating a call with the same key and body returns the committed result with Idempotent-Replayed: true and never repeats the change. The same key with different terms is an idempotency-conflict.

Idempotency-Key: 7c1e5f0a-send-quote

Trip updates carry expectedUpdatedAt from your last read; if the trip changed since, the update is refused with resource-conflict.

Money and privacy

Amounts are exact minor units with their currency, for example { "currency": "EUR", "amountMinor": "45600" }. Responses never include card, passport, date of birth or client address data. Commission appears only on hotel search and rates, for the caller’s own role (a sub-advisor sees their own share); client-site keys never see it. Traveller requests accept name, title, passenger type, email and phone only, and a loyalty number is read back in full.

Hotel search costs

Hotel search, hotel rates, checkout links and adding a quote option call the hotel supplier live, and nothing is cached. Each one uses your agency’s hotel search allowance, then is charged from its prepaid credit.

These calls and cancels are capped at 60 per key per rolling hour, REST and MCP together. Over the cap a call is refused with rate-limited and Retry-After; an exhausted allowance is refused with quota-exhausted. Over MCP, both arrive as a tool error (isError) whose text is the same problem, with retryAfterSeconds for rate-limited.

A checkout link opens the app’s checkout for the advisor who issued the key. They add the lead guest and the card and confirm; card and guest data never pass through the API. A cancel goes through only inside the booking’s free-cancellation window; otherwise it returns confirmUrl, the booking’s Cancel dialog with its penalty.

Endpoints

Clients

MethodPathPermissionSuccess
GET/api/v1/clients

List Agency CRM clients as list summaries, in directory order with an opaque cursor. Archived clients are left out unless status=ARCHIVED is asked for; removed clients appear as redacted tombstones.

  • ?limit
  • ?cursor
  • ?q
  • ?status
client:read200
POST/api/v1/clients

Create an Agency CRM client from list-summary fields; consent, address and notes stay in the app. The client is also added as their own traveller, with the same first and last name.

  • Body.displayCurrencyCode
  • Body.email
  • Body.firstName*
  • Body.lastName*
  • Body.phone
  • Body.status
  • Body.tags
client:create201
GET/api/v1/clients/{clientId}

Read one Agency CRM client as its list summary.

  • clientId*
client:read200
PATCH/api/v1/clients/{clientId}

Update an Agency CRM client.

  • clientId*
  • Body.displayCurrencyCode
  • Body.email
  • Body.firstName
  • Body.lastName
  • Body.phone
  • Body.status
  • Body.tags
client:update200
DELETE/api/v1/clients/{clientId}

Archive an Agency CRM client with its trips and travellers; refused while one of its trips holds a live booking.

  • clientId*
client:delete200
  • GET/api/v1/clientsList Agency CRM clients as list summaries, in directory order with an opaque cursor. Archived clients are left out unless status=ARCHIVED is asked for; removed clients appear as redacted tombstones.Permission client:read
  • POST/api/v1/clientsCreate an Agency CRM client from list-summary fields; consent, address and notes stay in the app. The client is also added as their own traveller, with the same first and last name.Permission client:create
  • GET/api/v1/clients/{clientId}Read one Agency CRM client as its list summary.Permission client:read
  • PATCH/api/v1/clients/{clientId}Update an Agency CRM client.Permission client:update
  • DELETE/api/v1/clients/{clientId}Archive an Agency CRM client with its trips and travellers; refused while one of its trips holds a live booking.Permission client:delete

Travellers

MethodPathPermissionSuccess
GET/api/v1/clients/{clientId}/travellers

List the travellers of one Agency CRM client with their contact fields and loyalty memberships (full numbers), by name with an opaque cursor.

  • clientId*
  • ?limit
  • ?cursor
traveller:read200
POST/api/v1/clients/{clientId}/travellers

Add a traveller to an Agency CRM client from name, title, passenger type and contact fields; passport details stay in the app.

  • clientId*
  • Body.email
  • Body.firstName*
  • Body.lastName*
  • Body.middleName
  • Body.passengerType
  • Body.phone
  • Body.title
traveller:create201
PATCH/api/v1/travellers/{travellerId}

Update the name, title, passenger type or contact fields of a traveller; omitted or null fields stay unchanged.

  • travellerId*
  • Body.email
  • Body.firstName
  • Body.lastName
  • Body.middleName
  • Body.passengerType
  • Body.phone
  • Body.title
traveller:update200
DELETE/api/v1/travellers/{travellerId}

Delete a traveller of an Agency CRM client; the traveller leaves every read.

  • travellerId*
traveller:delete200
POST/api/v1/travellers/{travellerId}/loyalty-programs

Save a traveller's loyalty membership for the programme family of a supplier code, replacing that family's existing membership; the full number is returned.

  • travellerId*
  • Body.membershipNumber*
  • Body.programName*
  • Body.supplierCode*
traveller:update200
DELETE/api/v1/travellers/{travellerId}/loyalty-programs/{loyaltyProgramId}

Remove one loyalty membership from a traveller and return the traveller's remaining memberships.

  • travellerId*
  • loyaltyProgramId*
traveller:update200
  • GET/api/v1/clients/{clientId}/travellersList the travellers of one Agency CRM client with their contact fields and loyalty memberships (full numbers), by name with an opaque cursor.Permission traveller:read
  • POST/api/v1/clients/{clientId}/travellersAdd a traveller to an Agency CRM client from name, title, passenger type and contact fields; passport details stay in the app.Permission traveller:create
  • PATCH/api/v1/travellers/{travellerId}Update the name, title, passenger type or contact fields of a traveller; omitted or null fields stay unchanged.Permission traveller:update
  • DELETE/api/v1/travellers/{travellerId}Delete a traveller of an Agency CRM client; the traveller leaves every read.Permission traveller:delete
  • POST/api/v1/travellers/{travellerId}/loyalty-programsSave a traveller's loyalty membership for the programme family of a supplier code, replacing that family's existing membership; the full number is returned.Permission traveller:update
  • DELETE/api/v1/travellers/{travellerId}/loyalty-programs/{loyaltyProgramId}Remove one loyalty membership from a traveller and return the traveller's remaining memberships.Permission traveller:update

Trips

MethodPathPermissionSuccess
GET/api/v1/trips

List Agency CRM trips as trip-level summaries, most recently updated first, with an opaque cursor. Trips of archived clients are left out.

  • ?limit
  • ?cursor
  • ?clientId
  • ?status
trip:read200
POST/api/v1/trips

Create a PLANNING trip for a visible Agency CRM client from its name, destination and dates. The client’s own traveller, when they have one, starts on the trip as lead guest.

  • Body.clientId*
  • Body.destination
  • Body.endDate
  • Body.name*
  • Body.startDate
trip:create201
GET/api/v1/trips/{tripId}

Read one Agency CRM trip as its trip-level summary.

  • tripId*
trip:read200
PATCH/api/v1/trips/{tripId}

Update a trip name, destination or dates at its expected update time; omitted or null fields stay unchanged.

  • tripId*
  • Body.destination
  • Body.endDate
  • Body.expectedUpdatedAt*
  • Body.name
  • Body.startDate
trip:update200
DELETE/api/v1/trips/{tripId}

Delete a trip with its quotes, notes and files; refused while it holds a live booking.

  • tripId*
trip:delete200
GET/api/v1/trips/{tripId}/travellers

List the travellers assigned to a trip as traveller ids with the lead flag.

  • tripId*
trip:read200
POST/api/v1/trips/{tripId}/travellers

Assign one of the trip client's travellers to a trip, optionally as its only lead; assigning an assigned traveller changes nothing.

  • tripId*
  • Body.lead
  • Body.travellerId*
trip:update200
DELETE/api/v1/trips/{tripId}/travellers/{travellerId}

Unassign a traveller from a trip; unassigning an unassigned traveller changes nothing.

  • tripId*
  • travellerId*
trip:update200
  • GET/api/v1/tripsList Agency CRM trips as trip-level summaries, most recently updated first, with an opaque cursor. Trips of archived clients are left out.Permission trip:read
  • POST/api/v1/tripsCreate a PLANNING trip for a visible Agency CRM client from its name, destination and dates. The client’s own traveller, when they have one, starts on the trip as lead guest.Permission trip:create
  • GET/api/v1/trips/{tripId}Read one Agency CRM trip as its trip-level summary.Permission trip:read
  • PATCH/api/v1/trips/{tripId}Update a trip name, destination or dates at its expected update time; omitted or null fields stay unchanged.Permission trip:update
  • DELETE/api/v1/trips/{tripId}Delete a trip with its quotes, notes and files; refused while it holds a live booking.Permission trip:delete
  • GET/api/v1/trips/{tripId}/travellersList the travellers assigned to a trip as traveller ids with the lead flag.Permission trip:read
  • POST/api/v1/trips/{tripId}/travellersAssign one of the trip client's travellers to a trip, optionally as its only lead; assigning an assigned traveller changes nothing.Permission trip:update
  • DELETE/api/v1/trips/{tripId}/travellers/{travellerId}Unassign a traveller from a trip; unassigning an unassigned traveller changes nothing.Permission trip:update

Quotes

MethodPathPermissionSuccess
GET/api/v1/quotes

List Agency quotes with exact per-currency charged totals, most recently updated first, with an opaque cursor. Quotes of archived clients are left out.

  • ?limit
  • ?cursor
  • ?tripId
  • ?status
quote:read200
GET/api/v1/quotes/{quoteId}

Read one Agency quote with its items and exact charged money; no commission, client or GBP data.

  • quoteId*
quote:read200
PATCH/api/v1/quotes/{quoteId}

Set a draft quote's title, plain-text note (an empty note clears it), validity in days (3, 7, 14 or 30) or exact offer end (`offerEnd`: UK `date` YYYY-MM-DD and 24-hour `time` HH:mm, at most 60 days ahead; `"default"` returns to the validity rule) at its expected update time; null or absent fields stay unchanged and at least one must change. No repricing.

  • quoteId*
  • Body.expectedUpdatedAt*
  • Body.note
  • Body.offerEnd
  • Body.title
  • Body.validityDays
quote:update200
DELETE/api/v1/quotes/{quoteId}

Delete an unsent draft quote; refused while a booking or checkout uses one of its options.

  • quoteId*
  • Body.expectedUpdatedAt*
quote:delete200
DELETE/api/v1/quotes/{quoteId}/items/{itemId}

Remove one option from a draft quote; refused while a booking or checkout uses it.

  • quoteId*
  • itemId*
  • Body.expectedUpdatedAt*
quote:update200
POST/api/v1/quotes/{quoteId}/reorder

Set the order of a draft quote's options: name every option id once, in the new order.

  • quoteId*
  • Body.expectedUpdatedAt*
  • Body.itemIds*
quote:update200
POST/api/v1/quotes/{quoteId}/revise

Open the next version of a sent quote as a draft with the same options, title, note and validity (no repricing); refused while the trip holds another open draft.

  • quoteId*
  • Body.expectedUpdatedAt*
quote:create201
POST/api/v1/quotes/{quoteId}/send

Send a DRAFT quote to its client's email: one share link and one queued email per operation, delivered by the worker.

  • quoteId*
quote:update200
POST/api/v1/trips/{tripId}/quote-options

Add one hotel option to your own trip's draft quote from a rateRef of the hotel rates read: the rate is re-found with one counted hotel search and priced from it, then one counted price check freezes the client's rate terms with the option (two counted looks per add; if the price check fails the option is added without them). rooms is 1-9 identical rooms (null or absent is 1) and adults is per room; the rateRef must come from a rates read with the same rooms, and the option's charged total is for all rooms. The first option opens the draft, named after the trip.

  • tripId*
  • Body.adults*
  • Body.checkIn*
  • Body.checkOut*
  • Body.hotelId*
  • Body.rateRef*
  • Body.rooms
quote:create201
  • GET/api/v1/quotesList Agency quotes with exact per-currency charged totals, most recently updated first, with an opaque cursor. Quotes of archived clients are left out.Permission quote:read
  • GET/api/v1/quotes/{quoteId}Read one Agency quote with its items and exact charged money; no commission, client or GBP data.Permission quote:read
  • PATCH/api/v1/quotes/{quoteId}Set a draft quote's title, plain-text note (an empty note clears it), validity in days (3, 7, 14 or 30) or exact offer end (`offerEnd`: UK `date` YYYY-MM-DD and 24-hour `time` HH:mm, at most 60 days ahead; `"default"` returns to the validity rule) at its expected update time; null or absent fields stay unchanged and at least one must change. No repricing.Permission quote:update
  • DELETE/api/v1/quotes/{quoteId}Delete an unsent draft quote; refused while a booking or checkout uses one of its options.Permission quote:delete
  • DELETE/api/v1/quotes/{quoteId}/items/{itemId}Remove one option from a draft quote; refused while a booking or checkout uses it.Permission quote:update
  • POST/api/v1/quotes/{quoteId}/reorderSet the order of a draft quote's options: name every option id once, in the new order.Permission quote:update
  • POST/api/v1/quotes/{quoteId}/reviseOpen the next version of a sent quote as a draft with the same options, title, note and validity (no repricing); refused while the trip holds another open draft.Permission quote:create
  • POST/api/v1/quotes/{quoteId}/sendSend a DRAFT quote to its client's email: one share link and one queued email per operation, delivered by the worker.Permission quote:update
  • POST/api/v1/trips/{tripId}/quote-optionsAdd one hotel option to your own trip's draft quote from a rateRef of the hotel rates read: the rate is re-found with one counted hotel search and priced from it, then one counted price check freezes the client's rate terms with the option (two counted looks per add; if the price check fails the option is added without them). rooms is 1-9 identical rooms (null or absent is 1) and adults is per room; the rateRef must come from a rates read with the same rooms, and the option's charged total is for all rooms. The first option opens the draft, named after the trip.Permission quote:create

Bookings

MethodPathPermissionSuccess
POST/api/v1/booking-links

Create a 24-hour checkout link for one of your own trips from a rateRef: the rate is re-derived with one counted look and the advisor completes guests, card and confirmation in the app. Since 2.7.0 `rooms` (1-9, default 1, the rateRef must be for the same rooms); `adults` is per room; the price is for all rooms. No card or guest data passes through the API.

  • Body.adults*
  • Body.checkIn*
  • Body.checkOut*
  • Body.hotelId*
  • Body.rateRef*
  • Body.rooms
  • Body.tripId*
booking:create201
GET/api/v1/bookings

List a trip's bookings, oldest first, with state (awaitingHotel: the hotel has not confirmed it yet; confirmedTotalMismatch: the booking was confirmed at a different total; notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms, with an opaque cursor.

  • ?tripId*
  • ?limit
  • ?cursor
booking:read200
GET/api/v1/bookings/{bookingId}

Read one booking by its booking id with state (notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms.

  • bookingId*
booking:read200
POST/api/v1/bookings/{bookingId}/cancel

Cancel a booking inside its free-cancellation window (one supplier cancel); otherwise returns confirmUrl, the booking's Cancel dialog with its penalty in the app, and changes nothing. A booking with several rooms is cancelled whole (all rooms): the hotel holds them as one booking under one confirmation number.

  • bookingId*
booking:cancel200
  • POST/api/v1/booking-linksCreate a 24-hour checkout link for one of your own trips from a rateRef: the rate is re-derived with one counted look and the advisor completes guests, card and confirmation in the app. Since 2.7.0 `rooms` (1-9, default 1, the rateRef must be for the same rooms); `adults` is per room; the price is for all rooms. No card or guest data passes through the API.Permission booking:create
  • GET/api/v1/bookingsList a trip's bookings, oldest first, with state (awaitingHotel: the hotel has not confirmed it yet; confirmedTotalMismatch: the booking was confirmed at a different total; notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms, with an opaque cursor.Permission booking:read
  • GET/api/v1/bookings/{bookingId}Read one booking by its booking id with state (notBookedReason ROOMS_REFUSED: the hotel would not take that many rooms in one booking; nothing was booked; to book them as separate bookings, create one checkout link per room), stay, booking reference, roomCount (rooms in this one hotel booking; perRoom lists each room's own figures when there are 2 or more) and charged money for all rooms.Permission booking:read
  • POST/api/v1/bookings/{bookingId}/cancelCancel a booking inside its free-cancellation window (one supplier cancel); otherwise returns confirmUrl, the booking's Cancel dialog with its penalty in the app, and changes nothing. A booking with several rooms is cancelled whole (all rooms): the hotel holds them as one booking under one confirmation number.Permission booking:cancel

Hotels

MethodPathPermissionSuccess
GET/api/v1/hotels

Search live hotels around coordinates for a stay: one supplier page with the lowest charged price, the commission line for your role and an opaque next-page cursor. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms. Each call is one counted hotel search.

  • ?lat*
  • ?lng*
  • ?checkIn*
  • ?checkOut*
  • ?adults*
  • ?rooms
  • ?radiusKm
  • ?cursor
booking:create200
GET/api/v1/hotels/{hotelId}/rates

Read one hotel's live rooms and rates for a stay: charged price, refundability, free-cancel deadline (the hotel's own in hotel time, and the platform's latest free-cancel instant), an opaque rateRef for a checkout link and the hotel's commission line for your role. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms, with each room's own figures. Each call is one counted hotel search.

  • hotelId*
  • ?checkIn*
  • ?checkOut*
  • ?adults*
  • ?rooms
booking:create200
  • GET/api/v1/hotelsSearch live hotels around coordinates for a stay: one supplier page with the lowest charged price, the commission line for your role and an opaque next-page cursor. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms. Each call is one counted hotel search.Permission booking:create
  • GET/api/v1/hotels/{hotelId}/ratesRead one hotel's live rooms and rates for a stay: charged price, refundability, free-cancel deadline (the hotel's own in hotel time, and the platform's latest free-cancel instant), an opaque rateRef for a checkout link and the hotel's commission line for your role. Since 2.7.0 `rooms` (1-9, default 1); `adults` is per room; prices are for all rooms, with each room's own figures. Each call is one counted hotel search.Permission booking:create

Agency

MethodPathPermissionSuccess
GET/api/v1/agency

Read the key's own Agency, its issuing advisor and the key's effective permissions.

any valid key200
  • GET/api/v1/agencyRead the key's own Agency, its issuing advisor and the key's effective permissions.Permission any valid key

Rate programmes

MethodPathPermissionSuccess
GET/api/v1/rate-programs

List the configured hotel rate categories in display order with their programme codes and label keys.

any valid key200
  • GET/api/v1/rate-programsList the configured hotel rate categories in display order with their programme codes and label keys.Permission any valid key

Incentives

MethodPathPermissionSuccess
GET/api/v1/incentives

List current partner incentives (offers such as "stay 4, pay 3" or an enhanced commission) every advisor can use, optionally for one partner, one hotel (by its id) and one stay. Each has its book-by date, travel window, partners, hotel count, details and the viewer's commission line. Client-facing answers never mention incentives or commission.

  • ?partner
  • ?hotelId
  • ?checkIn
  • ?checkOut
any valid key200
  • GET/api/v1/incentivesList current partner incentives (offers such as "stay 4, pay 3" or an enhanced commission) every advisor can use, optionally for one partner, one hotel (by its id) and one stay. Each has its book-by date, travel window, partners, hotel count, details and the viewer's commission line. Client-facing answers never mention incentives or commission.Permission any valid key

API keys

MethodPathPermissionSuccess
GET/api/v1/api-keys

List API key registrations.

apiKey:readPrincipal only200
POST/api/v1/api-keys

Issue an API key; plaintext is revealed once.

  • Body.actingAgentId
  • Body.audience*
  • Body.expiresIn
  • Body.name*
  • Body.rateLimitMax*
  • Body.rateLimitTimeWindow*
  • Body.scopes*
apiKey:createPrincipal only201
DELETE/api/v1/api-keys/{keyId}

Revoke an API key and retain its issuance history.

  • keyId*
apiKey:deletePrincipal only200
  • GET/api/v1/api-keysList API key registrations.Permission apiKey:readPrincipal only
  • POST/api/v1/api-keysIssue an API key; plaintext is revealed once.Permission apiKey:createPrincipal only
  • DELETE/api/v1/api-keys/{keyId}Revoke an API key and retain its issuance history.Permission apiKey:deletePrincipal only

OAuth clients

MethodPathPermissionSuccess
GET/api/v1/oauth/clients

List OAuth client registrations.

apiKey:readPrincipal only200
POST/api/v1/oauth/clients

Create an OAuth client; its secret is revealed once.

  • Body.actingAgentId
  • Body.audience*
  • Body.expiresIn
  • Body.name*
  • Body.scopes*
  • Body.tokenEndpointAuthMethod*
apiKey:createPrincipal only201
GET/api/v1/oauth/clients/{clientId}

Read an OAuth client registration.

  • clientId*
apiKey:readPrincipal only200
DELETE/api/v1/oauth/clients/{clientId}

Revoke an OAuth client and its outstanding access tokens.

  • clientId*
  • Body.expectedCredentialVersion*
apiKey:deletePrincipal only200
POST/api/v1/oauth/clients/{clientId}/rotate-secret

Rotate an OAuth secret at its expected version.

  • clientId*
  • Body.expectedCredentialVersion*
apiKey:updatePrincipal only200
  • GET/api/v1/oauth/clientsList OAuth client registrations.Permission apiKey:readPrincipal only
  • POST/api/v1/oauth/clientsCreate an OAuth client; its secret is revealed once.Permission apiKey:createPrincipal only
  • GET/api/v1/oauth/clients/{clientId}Read an OAuth client registration.Permission apiKey:readPrincipal only
  • DELETE/api/v1/oauth/clients/{clientId}Revoke an OAuth client and its outstanding access tokens.Permission apiKey:deletePrincipal only
  • POST/api/v1/oauth/clients/{clientId}/rotate-secretRotate an OAuth secret at its expected version.Permission apiKey:updatePrincipal only

MCP for AI agents

MCP is available as a hosted endpoint at /api/mcp. AI agents connect over the Model Context Protocol with an API key, or an advisor connects Claude or ChatGPT by signing in. Either way the same permissions, request limits and audit apply as on the endpoints below.

Send JSON-RPC requests over Streamable HTTP to this endpoint with your API key, or a connected app’s access token, as a Bearer token:

POST https://app.voyage.house/api/mcp
Authorization: Bearer vh_…

Write tools take input and idempotencyKey arguments; send optional input fields as null. API keys and OAuth clients are managed by the Principal under Integrations in the agency menu, never over MCP.

Tools are named by operation id. A connected app (Claude or ChatGPT) gets only the tools its consent screen covers: see, add and update clients, travellers and trips, assign travellers to trips, see and send quotes, see rate programmes and see bookings, narrowed by your role. Only if you tick them on the consent screen, it can also search hotels, read live rates, create booking links, add, remove and reorder quote options, and cancel bookings inside their free-cancellation window; these use your hotel search allowance, at most 60 calls an hour per app, and cards are entered only in the secure card form in the app. It never deletes clients, trips or quotes; it can remove a quote option, a trip traveller or a loyalty membership, and cancel only inside the free-cancellation window. With an API key, tools/list shows get_agency_context, list_rate_programs, list_incentives and only the other tools the key’s permissions allow:

  • list_clients
  • create_client
  • read_client
  • update_client
  • delete_client
  • list_travellers
  • create_traveller
  • update_traveller
  • delete_traveller
  • add_traveller_loyalty_program
  • remove_traveller_loyalty_program
  • list_trips
  • create_trip
  • read_trip
  • update_trip
  • delete_trip
  • list_trip_travellers
  • add_trip_traveller
  • remove_trip_traveller
  • list_quotes
  • read_quote
  • update_quote
  • delete_quote
  • remove_quote_option
  • reorder_quote_items
  • revise_quote
  • send_quote
  • add_quote_option
  • create_booking_link
  • list_bookings
  • read_booking
  • cancel_booking
  • search_hotels
  • read_hotel_rates
  • get_agency_context
  • list_rate_programs
  • list_incentives

Connect Claude or ChatGPT

Any advisor can connect Claude or ChatGPT to their own account without an API key. The app acts with your current role and sees only what you see in Voyage House.

  1. In Claude (Settings → Connectors → Add custom connector) or ChatGPT (Settings → Connectors → Create), paste this MCP URL:https://app.voyage.house/api/mcp
  2. Choose Connect. Sign in with your Dip Needle ID when asked.
  3. Review the access on the Voyage House consent screen and choose Allow.
  4. Manage or disconnect the app any time in Settings → Connected apps.
Connected apps

Errors

Failures use application/problem+json with a fixed type. Messages never echo your data.

  • 401unauthorized
  • 402quota-exhausted
  • 403insufficient-scope
  • 403onboarding-required
  • 404resource-not-found
  • 405method-not-allowed
  • 409resource-conflict
  • 409rate-unavailable
  • 409rooms-unavailable
  • 409rooms-no-rates
  • 409price-not-confirmed
  • 403rooms-not-enabled
  • 409idempotency-conflict
  • 409idempotency-in-progress
  • 413payload-too-large
  • 422validation-error
  • 429rate-limited
  • 500internal-error
  • 503api-disabled
  • 503supplier-unavailable
  • 503hotel-library-unavailable

Request limits

Each key has its own request limit, shown under Integrations in the agency menu. A call over the limit is refused with 429 rate-limited and a Retry-After header that gives the number of seconds to wait.

HTTP/1.1 429 Too Many Requests
Retry-After: 12

Wait that long, then send the call again. Retry a write with the same Idempotency-Key so the change is never made twice. MCP calls count towards the same limit.

Changes

Breaking changes and deprecations are announced in the changelog before they take effect.

Open the changelog