Skip to main content
Anonymous retrieval for a booking the user already made. Use it when the traveler has their Jinko booking reference and last name, for example to look up the itinerary days later without signing in. Returns the full booking envelope: status, travelers, and itinerary items with confirmation numbers (PNR for flights, confirmation number for hotels).
Retrieve a booking using the Jinko booking reference and the traveler's last name. No login required.

USAGE:
  get_booking({ booking_ref: "JNK-A7B3X9", last_name: "Doe" })

Returns booking details: status, travelers, itinerary items with confirmation numbers (PNR for flights, confirmation number for hotels).

The booking reference is found in the confirmation email sent after booking. Format: JNK-XXXXXX (6 uppercase alphanumeric characters).

Parameters

NameTypeRequiredDescription
booking_refstringYesJinko booking reference (e.g. JNK-A7B3X9). Found in the booking confirmation email.
last_namestringYesLast name of the primary traveler on the booking.

Examples

Guest lookup by Jinko reference + last name:
{
  "name": "get_booking",
  "arguments": {
    "booking_ref": "JNK-ABC123",
    "last_name": "Doe"
  }
}
Returns the booking envelope (itineraries, travelers, status). No auth required, this endpoint is guest-accessible so end users can check their own reservations without signing into a Jinko account. Error handling: The endpoint deliberately returns the same generic 404 for both “booking does not exist” and “last_name doesn’t match this booking_ref”, existence non-leak is intentional. If you get a 404, don’t retry with variations; either the user typoed the ref or the booking was never made under this last_name.