Hostfully · Schema

LeadApiV3GroupBookingCreationDto

Requires propertyUid and hotelUid for a hotel reservation, send hotelUid null for master/sub reservation

Short-Term RentalVacation RentalsProperty ManagementPMSHospitalityChannel ManagerDirect BookingReal EstateTravelBookingReservationsGuest CommunicationWebhookGraphQLOAuthAuthentication

Properties

Name Type Description
propertyUid string
agencyUid string
checkInLocalDateTime string
checkOutLocalDateTime string
checkInLocalDate string Check in date. For specifying time, use checkInLocalDateTime.
checkOutLocalDate string Check out date. For specifying time, use checkOutLocalDateTime.
status string
guestInformation object
bookedUtcDateTime string
externalBookingId string Ignored for BLOCK type of a lead
notes string
extraNotes string
quoteOverrides object
referrer string
channel string Represents the list of known channels in Lead API V3. This enum may be extended with additional values in API versions.API Clients must gracefully handle unmapped or unexpected entries with fallback o
hotelUid string In case hotelUid is not supplied, group-booking will assume that request is a master/sub property reservation
assigneeUid string Identifier of user assigned to lead in UID format
subLeads array List of sub-leads belonging to the group-booking
View JSON Schema on GitHub

JSON Schema

hostfully-lead-api-v3-group-booking-creation-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostfully/json-schema/hostfully-lead-api-v3-group-booking-creation-dto-schema.json",
  "title": "LeadApiV3GroupBookingCreationDto",
  "description": "Requires propertyUid and hotelUid for a hotel reservation, send hotelUid null for master/sub reservation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostfully-leads-test-endpoint-api-openapi.yml#/components/schemas/LeadApiV3GroupBookingCreationDto",
  "required": [
    "agencyUid",
    "propertyUid",
    "status",
    "subLeads"
  ],
  "type": "object",
  "properties": {
    "propertyUid": {
      "type": "string"
    },
    "agencyUid": {
      "type": "string"
    },
    "checkInLocalDateTime": {
      "type": "string"
    },
    "checkOutLocalDateTime": {
      "type": "string"
    },
    "checkInLocalDate": {
      "type": "string",
      "description": "Check in date. For specifying time, use checkInLocalDateTime.",
      "format": "date"
    },
    "checkOutLocalDate": {
      "type": "string",
      "description": "Check out date. For specifying time, use checkOutLocalDateTime.",
      "format": "date"
    },
    "status": {
      "type": "string",
      "enum": [
        "BLOCKED",
        "NEW",
        "ON_HOLD",
        "CLOSED",
        "PENDING",
        "PENDING_APPROVED",
        "DECLINED",
        "BOOKED",
        "CANCELLED",
        "IGNORED",
        "DUPLICATE",
        "SAMPLE"
      ]
    },
    "guestInformation": {
      "$ref": "#/$defs/LeadGuestInformationForCreationApiV3Dto"
    },
    "bookedUtcDateTime": {
      "type": "string"
    },
    "externalBookingId": {
      "type": "string",
      "description": "Ignored for BLOCK type of a lead"
    },
    "notes": {
      "type": "string"
    },
    "extraNotes": {
      "type": "string"
    },
    "quoteOverrides": {
      "$ref": "#/$defs/QuoteOverridesApi3Dto"
    },
    "referrer": {
      "type": "string"
    },
    "channel": {
      "type": "string",
      "description": "Represents the list of known channels in Lead API V3. This enum may be extended with additional values in API versions.API Clients must gracefully handle unmapped or unexpected entries with fallback or defaulting strategy to ensure safe behavior",
      "enum": [
        "HOSTFULLY",
        "AIRBNB",
        "BOOKING_COM",
        "VRBO",
        "HVMB",
        "GOOGLE",
        "FIND_RENTALS",
        "FLATAWAY",
        "GOLIGHTLY",
        "HOMADS",
        "TRIP_ADVISOR",
        "VACAYMYMAY",
        "STAYMENTITY",
        "GETAWAYGOGO",
        "EVERYSTAY",
        "REDAWNING",
        "MISTERBNB",
        "WHIMSTAY",
        "KOPA",
        "OWNERDIRECT",
        "B0ARDING",
        "TRAVELSTAYTION",
        "BNBFINDER",
        "LODGELOVERS",
        "LAKE",
        "MINISTAYS",
        "TRAMONA",
        "NEXTPAX",
        "RENTALS_UNITED",
        "HOUFY",
        "VRASIO",
        "STAYNEARN",
        "BLUEGROUND",
        "ANYSTAY",
        "STAY",
        "CREWDOGS"
      ]
    },
    "hotelUid": {
      "type": "string",
      "description": "In case hotelUid is not supplied, group-booking will assume that request is a master/sub property reservation"
    },
    "assigneeUid": {
      "type": "string",
      "description": "Identifier of user assigned to lead in UID format"
    },
    "subLeads": {
      "type": "array",
      "description": "List of sub-leads belonging to the group-booking",
      "items": {
        "$ref": "#/$defs/LeadApiV3SubLeadCreationDto"
      }
    }
  },
  "$defs": {
    "LeadApiV3SubLeadCreationDto": {
      "required": [
        "propertyUid",
        "status",
        "unitUid"
      ],
      "type": "object",
      "properties": {
        "propertyUid": {
          "type": "string"
        },
        "unitUid": {
          "type": "string"
        },
        "checkInLocalDate": {
          "type": "string",
          "description": "Check in date. Not Specifying Time.",
          "format": "date"
        },
        "checkOutLocalDate": {
          "type": "string",
          "description": "Check out date. Not Specifying Time.",
          "format": "date"
        },
        "status": {
          "type": "string",
          "enum": [
            "BLOCKED",
            "NEW",
            "ON_HOLD",
            "CLOSED",
            "PENDING",
            "PENDING_APPROVED",
            "DECLINED",
            "BOOKED",
            "CANCELLED",
            "IGNORED",
            "DUPLICATE",
            "SAMPLE"
          ]
        },
        "guestInformation": {
          "$ref": "#/$defs/LeadGuestInformationForCreationApiV3Dto"
        },
        "externalBookingId": {
          "type": "string",
          "description": "Ignored for BLOCK type of a lead"
        }
      },
      "description": "List of sub-leads belonging to the group-booking"
    },
    "LeadGuestInformationForCreationApiV3Dto": {
      "required": [
        "email"
      ],
      "type": "object",
      "properties": {
        "firstName": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "lastName": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "address1": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "address2": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "zipCode": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "city": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "state": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "countryCode": {
          "type": "string",
          "description": "Replaced with null if api caller has no access to see lead's personal and confidential information",
          "enum": [
            "AF",
            "AL",
            "DZ",
            "AS",
            "AD",
            "AO",
            "AI",
            "AG",
            "AN",
            "AR",
            "AM",
            "AW",
            "AU",
            "AT",
            "AZ",
            "BS",
            "BH",
            "BD",
            "BB",
            "BY",
            "BE",
            "BZ",
            "BJ",
            "BM",
            "BT",
            "BO",
            "BA",
            "BW",
            "BR",
            "BN",
            "BG",
            "BF",
            "BI",
            "BQ",
            "KH",
            "CM",
            "CA",
            "CV",
            "KY",
            "CF",
            "TD",
            "CL",
            "CN",
            "CX",
            "CC",
            "CO",
            "KM",
            "YT",
            "CG",
            "CD",
            "CK",
            "CR",
            "CI",
            "HR",
            "CU",
            "CW",
            "CY",
            "CZ",
            "DK",
            "DJ",
            "DM",
            "DO",
            "EC",
            "EG",
            "SV",
            "GQ",
            "ER",
            "EE",
            "ET",
            "FJ",
            "FI",
            "FK",
            "FO",
            "FR",
            "GF",
            "GA",
            "GM",
            "GE",
            "DE",
            "GH",
            "GI",
            "GR",
            "GL",
            "GD",
            "GU",
            "GT",
            "GN",
            "GW",
            "GY",
            "GP",
            "HT",
            "VA",
            "HN",
            "HK",
            "HL",
            "HU",
            "IS",
            "IN",
            "ID",
            "IR",
            "IQ",
            "IE",
            "IL",
            "IT",
            "JM",
            "JP",
            "JO",
            "KZ",
            "KE",
            "KI",
            "KP",
            "KR",
            "KW",
            "KG",
            "LA",
            "LV",
            "LB",
            "LC",
            "LS",
            "LR",
            "LY",
            "LI",
            "LT",
            "LU",
            "MO",
            "MQ",
            "MK",
            "MG",
            "MW",
            "MY",
            "MV",
            "ML",
            "MT",
            "MH",
            "MR",
            "MU",
            "MX",
            "FM",
            "MD",
            "MC",
            "MN",
            "MS",
            "MA",
            "MZ",
            "MM",
            "ME",
            "NA",
            "NR",
            "NP",
            "NL",
            "NC",
            "NZ",
            "NI",
            "NE",
            "NG",
            "NU",
            "NF",
            "NO",
            "OM",
            "PK",
            "PW",
            "PA",
            "PG",
            "PS",
            "PY",
            "PE",
            "PF",
            "PH",
            "PL",
            "PN",
            "PT",
            "PR",
            "QA",
            "RO",
            "RU",
            "RW",
            "KN",
            "WS",
            "RE",
            "PM",
            "SH",
            "ST",
            "SM",
            "SA",
            "SN",
            "RS",
            "SC",
            "SL",
            "SG",
            "SX",
            "SK",
            "SI",
            "SB",
            "SO",
            "ZA",
            "ES",
            "LK",
            "SR",
            "SJ",
            "SZ",
            "SE",
            "CH",
            "SY",
            "TC",
            "TW",
            "TJ",
            "TZ",
            "TH",
            "TG",
            "TO",
            "TT",
            "TN",
            "TR",
            "TM",
            "TV",
            "UG",
            "UA",
            "AE",
            "GB",
            "JE",
            "IM",
            "US",
            "UY",
            "UZ",
            "VC",
            "VU",
            "VE",
            "VN",
            "VG",
            "VI",
            "WF",
            "EH",
            "YE",
            "YU",
            "ZM",
            "ZW"
          ]
        },
        "passportId": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "passportCountryCode": {
          "type": "string",
          "description": "Replaced with null if api caller has no access to see lead's personal and confidential information",
          "enum": [
            "AF",
            "AL",
            "DZ",
            "AS",
            "AD",
            "AO",
            "AI",
            "AG",
            "AN",
            "AR",
            "AM",
            "AW",
            "AU",
            "AT",
            "AZ",
            "BS",
            "BH",
            "BD",
            "BB",
            "BY",
            "BE",
            "BZ",
            "BJ",
            "BM",
            "BT",
            "BO",
            "BA",
            "BW",
            "BR",
            "BN",
            "BG",
            "BF",
            "BI",
            "BQ",
            "KH",
            "CM",
            "CA",
            "CV",
            "KY",
            "CF",
            "TD",
            "CL",
            "CN",
            "CX",
            "CC",
            "CO",
            "KM",
            "YT",
            "CG",
            "CD",
            "CK",
            "CR",
            "CI",
            "HR",
            "CU",
            "CW",
            "CY",
            "CZ",
            "DK",
            "DJ",
            "DM",
            "DO",
            "EC",
            "EG",
            "SV",
            "GQ",
            "ER",
            "EE",
            "ET",
            "FJ",
            "FI",
            "FK",
            "FO",
            "FR",
            "GF",
            "GA",
            "GM",
            "GE",
            "DE",
            "GH",
            "GI",
            "GR",
            "GL",
            "GD",
            "GU",
            "GT",
            "GN",
            "GW",
            "GY",
            "GP",
            "HT",
            "VA",
            "HN",
            "HK",
            "HL",
            "HU",
            "IS",
            "IN",
            "ID",
            "IR",
            "IQ",
            "IE",
            "IL",
            "IT",
            "JM",
            "JP",
            "JO",
            "KZ",
            "KE",
            "KI",
            "KP",
            "KR",
            "KW",
            "KG",
            "LA",
            "LV",
            "LB",
            "LC",
            "LS",
            "LR",
            "LY",
            "LI",
            "LT",
            "LU",
            "MO",
            "MQ",
            "MK",
            "MG",
            "MW",
            "MY",
            "MV",
            "ML",
            "MT",
            "MH",
            "MR",
            "MU",
            "MX",
            "FM",
            "MD",
            "MC",
            "MN",
            "MS",
            "MA",
            "MZ",
            "MM",
            "ME",
            "NA",
            "NR",
            "NP",
            "NL",
            "NC",
            "NZ",
            "NI",
            "NE",
            "NG",
            "NU",
            "NF",
            "NO",
            "OM",
            "PK",
            "PW",
            "PA",
            "PG",
            "PS",
            "PY",
            "PE",
            "PF",
            "PH",
            "PL",
            "PN",
            "PT",
            "PR",
            "QA",
            "RO",
            "RU",
            "RW",
            "KN",
            "WS",
            "RE",
            "PM",
            "SH",
            "ST",
            "SM",
            "SA",
            "SN",
            "RS",
            "SC",
            "SL",
            "SG",
            "SX",
            "SK",
            "SI",
            "SB",
            "SO",
            "ZA",
            "ES",
            "LK",
            "SR",
            "SJ",
            "SZ",
            "SE",
            "CH",
            "SY",
            "TC",
            "TW",
            "TJ",
            "TZ",
            "TH",
            "TG",
            "TO",
            "TT",
            "TN",
            "TR",
            "TM",
            "TV",
            "UG",
            "UA",
            "AE",
            "GB",
            "JE",
            "IM",
            "US",
            "UY",
            "UZ",
            "VC",
            "VU",
            "VE",
            "VN",
            "VG",
            "VI",
            "WF",
            "EH",
            "YE",
            "YU",
            "ZM",
            "ZW"
          ]
        },
        "adultCount": {
          "type": "integer",
          "description": "In case it is not supplied, the default value of 1 will be assumed",
          "format": "int32"
        },
        "childrenCount": {
          "type": "integer",
          "description": "In case it is not supplied, the default value of 0 will be assumed",
          "format": "int32"
        },
        "petCount": {
          "type": "integer",
          "description": "In case it is not supplied, the default value of 0 will be assumed",
          "format": "int32"
        },
        "infantCount": {
          "type": "integer",
          "description": "In case it is not supplied, the default value of 0 will be assumed",
          "format": "int32"
        },
        "riskScore": {
          "maximum": 100,
          "minimum": 0,
          "type": "integer",
          "description": "Declared departure datetime in property's timezone by the guest on the pre arrival form.",
          "format": "int32"
        },
        "email": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "secondaryEmail": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "phoneNumber": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "cellPhoneNumber": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "flightNumber": {
          "type": "string"
        },
        "reasonForTrip": {
          "type": "string"
        },
        "willHaveParty": {
          "type": "boolean"
        },
        "willHaveVisit": {
          "type": "boolean"
        },
        "preferredCurrency": {
          "type": "string",
          "enum": [
            "USD",
            "EUR",
            "GBP",
            "CAD",
            "JPY",
            "INR",
            "MYR",
            "AUD",
            "KES",
            "MXN",
            "HKD",
            "NZD",
            "CHF",
            "BRL",
            "CLP",
            "COP",
            "PEN",
            "ARS",
            "UYU",
            "VEF",
            "CNY",
            "THB",
            "KRW",
            "IDR",
            "SGD",
            "TWD",
            "AED",
            "ZAR",
            "CZK",
            "DKK",
            "DOP",
            "SEK",
            "BGN",
            "ILS",
            "NOK",
            "RON",
            "RUB",
            "PHP",
            "VND",
            "HUF",
            "IKR",
            "PLN",
            "PYG",
            "TRY",
            "GTQ",
            "VUV",
            "JOD",
            "SAR",
            "EGP",
            "TTD",
            "MAD",
            "CVE",
            "BBD",
            "AWG",
            "BHD",
            "NONE"
          ]
        },
        "preferredLocale": {
          "type": "object",
          "properties": {
            "language": {
              "type": "string"
            },
            "displayName": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "variant": {
              "type": "string"
            },
            "script": {
              "type": "string"
            },
            "unicodeLocaleAttributes": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "unicodeLocaleKeys": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "displayLanguage": {
              "type": "string"
            },
            "displayScript": {
              "type": "string"
            },
            "displayCountry": {
              "type": "string"
            },
            "displayVariant": {
              "type": "string"
            },
            "extensionKeys": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "iso3Language": {
              "type": "string"
            },
            "iso3Country": {
              "type": "string"
            }
          }
        },
        "arrivalLocalDateTime": {
          "type": "string"
        },
        "departureLocalDateTime": {
          "type": "string"
        }
      },
      "description": "Ignored for BLOCK type of a lead"
    },
    "PriceOverridesApi3Dto": {
      "required": [
        "netPrice"
      ],
      "type": "object",
      "properties": {
        "netPrice": {
          "type": "number"
        },
        "taxationRate": {
          "type": "number"
        }
      }
    },
    "QuoteFeeOverridesApi3Dto": {
      "type": "object",
      "properties": {
        "feeId": {
          "type": "integer",
          "format": "int32",
          "deprecated": true
        },
        "feeUid": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "amountType": {
          "type": "string",
          "enum": [
            "AMOUNT",
            "TAX"
          ]
        },
        "amount": {
          "type": "number"
        },
        "taxationRate": {
          "type": "number"
        },
        "scope": {
          "type": "string",
          "enum": [
            "PER_NIGHT",
            "PER_STAY",
            "PER_GUEST_PER_NIGHT",
            "PER_GUEST",
            "PER_PET",
            "PER_PET_PER_NIGHT",
            "PERCENTAGE_OF_TOTAL",
            "PERCENTAGE_OF_RENT"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "CLEANING",
            "EARLY_ARRIVAL",
            "LATE_DEPARTURE",
            "PET",
            "TAX",
            "CUSTOM"
          ]
        },
        "isOptional": {
          "type": "boolean"
        },
        "netPrice": {
          "type": "number"
        },
        "enabled": {
          "type": "boolean"
        },
        "removed": {
          "type": "boolean"
        }
      }
    },
    "QuoteFeesOverridesApi3Dto": {
      "type": "object",
      "properties": {
        "cleaningFee": {
          "$ref": "#/$defs/PriceOverridesApi3Dto"
        },
        "otherFees": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/QuoteFeeOverridesApi3Dto"
          }
        }
      }
    },
    "QuoteOverridesApi3Dto": {
      "type": "object",
      "properties": {
        "rent": {
          "$ref": "#/$defs/QuoteRentOverridesApi3Dto"
        },
        "securityDeposit": {
          "type": "number"
        },
        "fees": {
          "$ref": "#/$defs/QuoteFeesOverridesApi3Dto"
        },
        "totalPrice": {
          "type": "number"
        },
        "force100PercentPaymentAtReservation": {
          "type": "boolean"
        }
      }
    },
    "QuoteRentOverridesApi3Dto": {
      "type": "object",
      "properties": {
        "rentBaseNetPrice": {
          "type": "number"
        },
        "rentNetPrice": {
          "type": "number"
        },
        "extraGuestsNetPrice": {
          "type": "number"
        },
        "taxationRate": {
          "type": "number"
        },
        "taxAmount": {
          "type": "number"
        },
        "extraGuestsBaseNetPrice": {
          "type": "number"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hostfully-lead-api-v3-group-booking-creation-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.