Skip to main content
POST
/
v1
/
get_booking
Retrieve a booking using the Jinko booking reference and the traveler's last name
curl --request POST \
  --url https://api.example.com/v1/get_booking \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "booking_ref": "JNK-A0AUR2",
  "last_name": "Carrard"
}
'
{
  "booking": {
    "booking_ref": "JNK-A0AUR2",
    "status": "confirmed",
    "type": "flight",
    "last_name": "Carrard",
    "total_paid": {
      "value": 318.4,
      "currency": "USD"
    },
    "created_at": "2026-05-20T09:14:00.000Z"
  }
}
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).

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_ref
string
required
Example:

"JNK-A0AUR2"

last_name
string
required
Example:

"Carrard"

Response

Retrieve a booking using the Jinko booking reference and the traveler's last name

booking
unknown