Skip to main content
GET
/
booking
Get booking configuration
curl --request GET \
  --url https://spaportal.cz/api/v1/booking \
  --header 'Authorization: Bearer <token>'
{
  "destination": {
    "_id": "66f16191f739705faa020001",
    "id": 1,
    "name": {
      "cs_CZ": "Frantiskovy Lazne",
      "de": "Franzensbad"
    }
  },
  "visit_type": {
    "_id": "66f16191f739705faa020004",
    "id": 1,
    "priority_position": 1,
    "on_demand": false,
    "name": {
      "cs_CZ": "Frantiskolazenska lecebna kura",
      "de": "Franzensbader Heilkur"
    },
    "nights_min": 1,
    "nights_max": 3,
    "reservation_time_span": "DAYS"
  },
  "hotel": {
    "_id": "66f16191f739705faa020002",
    "id": 1,
    "name": "Pawlik",
    "stars": 4
  },
  "room_type": {
    "_id": "66f16191f739705faa020003",
    "id": 1,
    "category": {
      "cs_CZ": "Prezidentske apartma",
      "de": "App. Aquaforum"
    },
    "beds": 2
  },
  "date_from": "2026-12-02",
  "date_to": "2026-12-16",
  "price": {
    "cs_CZ": {
      "amount": 10245,
      "currency": "CZK"
    },
    "de": {
      "amount": 400,
      "currency": "EUR"
    }
  },
  "lowest_price": {
    "cs_CZ": {
      "amount_per_night": 1024.5,
      "currency": "CZK"
    },
    "de": {
      "amount_per_night": 40,
      "currency": "EUR"
    }
  },
  "availability": "ON_DEMAND"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string

Comma-separated list of languages to include.

Example:

"cs_CZ,de"

Query Parameters

destination_name
string

Destination name in any supported language.

visit_type_name
string

Visit type name in any supported language.

hotel_name
string

Hotel name in any supported language.

room_type_category
string

Room type category in any supported language.

date_from
string<date>

Start date in YYYY-MM-DD format.

date_to
string<date>

End date in YYYY-MM-DD format.

Response

Matched booking configuration, availability, and price data.

availability
enum<string> | null
Available options:
NOT_AVAILABLE,
AVAILABLE,
ON_DEMAND
date_from
string<date>
date_to
string<date>
destination
object
hotel
object
visit_type
object
room_type
object
price
object
lowest_price
object