DocumentationMCPCLI

Introduction

  • Overview

Hotels

  • Search hotels
  • Hotel details
  • Live rates

Booking

  • Create booking

Guides

  • Planning guide

Booking

Create booking

Create or resume a booking for one rate and return a payment link with the accepted terms. The same user and stay always return the same order; a stay that is already paid returns 409.

create_booking · Creates an unpaid order · CLI: fortrip book

Input

hotelIdintegerrequired

Hotel id.> 0

roomIdstringrequired

roomId from rates.≥ 1 chars

ratePlanCodestringrequired

ratePlanCode from rates.≥ 1 chars

checkInstringrequired

Check-in date, yyyy-MM-dd.

checkOutstringrequired

Check-out date, yyyy-MM-dd. Stays are 1 to 15 nights.

roomsintegerrequired

Number of rooms.1–8

adultsintegerrequired

Adults per room.1–8

childrenAgesinteger[]

Age of each child per room.≤ 8 items · each 0–17 · default []

guestsobject[]required

At least one guest per room, no more than the room sleeps. Names in Latin letters as on the passport; transliterate accents (Müller → Mueller).≥ 1 items

guests[].firstNamestringrequired

First name.1–60 chars

guests[].lastNamestringrequired

Last name.1–60 chars

guests[].roomNointegerrequired

Room the guest stays in, starting at 1.1–8

contactNamestringrequired

Contact person for the booking.1–120 chars

contactPhonestringrequired

Contact phone number.3–40 chars

contactEmailstring

Contact email.

specialRequestsstring

Requests for the hotel, in English. Not guaranteed.0–500 chars

Output

Returns the Booking result object as structuredContent. Errors are described in the overview.

PreviousLive ratesNextPlanning guide

On this page

  • Input
  • Output
Fortrip

Opinionated trip planning, built for real itineraries.

Plan

  • AI Trip Planner
  • Validator
  • Transport
  • Stays

Company

  • Pricing
  • About
  • Team
  • Blog
  • Decision Optimization
  • Itinerary Selection
  • News

Resources

  • Explore Destinations
  • Brand Assets
  • Responsible Travel
  • vs ChatGPT
  • Best AI travel planner
  • FAQ

© 2026 FortripAI, Inc.

PrivacyTerms
info@fortrip.ai+1-650-272-16121111b South Governors Ave, Dover, DE 19904
Skip to main content
Fortrip Logo
HomeExplorePlanningPricing
CLIMCPDocs
Saved0