---
updatedAt: 2026-09-29T03:37:44.000Z
agentTools:
  projectIndex: https://docs.hosttools.com/llms.txt
---

# Webhook Listing

This documents the webhook payload that Host Tools will POST to your configured webhook URL when a listing is added, changed or deleted.

**Note: This is not an API endpoint you call.**
This documents the requests that Host Tools sends TO your webhook URL.

## When triggered:
- `listing.created`: a listing is added (imported or created)
- `listing.changed`: a field returned by /api/getListing changes (for example the name, description, photos, prices or settings). Several edits within 30 seconds are sent as one webhook with the latest data.
- `listing.deleted`: a listing is deleted

A listing joining or leaving a listing group is sent as `listingGroup.changed`, not `listing.changed`.

## Handling the webhook:
1. Your endpoint should respond with HTTP 200 status
2. Process the data asynchronously if needed
3. Respond within 30 seconds


# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.30.0",
    "title": "Host Tools API Reference",
    "description": "Host Tools API. Supports two authentication methods:\n- **Legacy auth token**: Pass the `authToken` header with your user token\n- **OAuth 2.0 Bearer token**: Pass `Authorization: Bearer <token>` header (see OAuth endpoints below)\n\nOAuth 2.0 is recommended for new integrations. It supports granular scopes and automatic token refresh.\n",
    "contact": {
      "name": "Tom Krones",
      "email": "support@hosttools.com",
      "url": "https://hosttools.com"
    }
  },
  "servers": [
    {
      "url": "https://app.hosttools.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "OAuth2 Access Token",
        "description": "OAuth 2.0 access token obtained via the authorization code flow"
      },
      "authToken": {
        "type": "apiKey",
        "in": "header",
        "name": "authToken",
        "description": "Legacy user authentication token (UUID)"
      }
    },
    "schemas": {
      "BedTypeEnum": {
        "type": "string",
        "enum": [
          "air_mattress_bed",
          "bunk_bed",
          "couch_bed",
          "crib_bed",
          "double_bed",
          "floor_mattress_bed",
          "futon_bed",
          "hammock_bed",
          "king_bed",
          "murphy_bed",
          "queen_bed",
          "single_bed",
          "sofa_bed",
          "toddler_bed"
        ],
        "description": "Bed type values that can be returned in the listing's bedroomConfiguration.bedrooms.beds.bed.bedType field.\nThese values are standardized across different booking platforms and represent\nthe types of beds available in each bedroom.\n"
      },
      "Listing": {
        "required": [
          "_id",
          "userID"
        ],
        "properties": {
          "_id": {
            "type": "string",
            "description": "Listing ID",
            "example": "5e7a6c0b0f2c9c0017b0b0b0"
          },
          "userID": {
            "type": "string",
            "description": "User ID for this listing",
            "example": "5e7a6c0b0f2c9c0017b0b0b0"
          },
          "listingGroupIDs": {
            "type": "array",
            "description": "IDs of the listing groups that contain this listing (empty when it is in none). A listing joining or leaving a group sends a `listingGroup.changed` webhook, not `listing.changed`.",
            "items": {
              "type": "string"
            },
            "example": [
              "6553a15c2f4c1e0017a1b1c1"
            ]
          },
          "name": {
            "type": "string",
            "description": "Name of listing",
            "example": "Bright and Airy Apartment in the Heart of the City"
          },
          "thumbnailUrl": {
            "type": "string",
            "description": "Thumbnail url"
          },
          "address": {
            "type": "string",
            "description": "Address of listing",
            "example": "123 Main St"
          },
          "apartment": {
            "type": "string",
            "description": "The listing's apartment or unit, which `address` leaves out. VRBO and Airbnb are sent it when the listing is published. Missing when the listing has none.",
            "example": "Unit 4B"
          },
          "checkInTime": {
            "type": "number",
            "example": 15,
            "description": "Check in time in hours"
          },
          "checkOutTime": {
            "type": "number",
            "example": 11,
            "description": "Check out time in hours"
          },
          "currency": {
            "type": "string",
            "description": "Currency in ISO format",
            "example": "USD"
          },
          "timeZone": {
            "type": "string",
            "description": "Timezone in IANA format",
            "example": "America/Chicago"
          },
          "bedrooms": {
            "type": "number",
            "description": "Number of bedrooms",
            "example": 2
          },
          "bathrooms": {
            "type": "number",
            "description": "Number of bathrooms",
            "example": 1
          },
          "space": {
            "type": "number",
            "description": "Space/area of the listing",
            "example": 850
          },
          "spaceUnit": {
            "type": "string",
            "description": "Unit for the space measurement",
            "enum": [
              "SQ_M",
              "SQ_FT"
            ],
            "example": "SQ_FT"
          },
          "latitude": {
            "type": "number",
            "description": "Latitude",
            "example": 30.2672
          },
          "longitude": {
            "type": "number",
            "description": "Longitude",
            "example": 97.7431
          },
          "city": {
            "type": "string",
            "description": "City",
            "example": "Austin"
          },
          "region": {
            "type": "string",
            "description": "Region/State",
            "example": "Texas"
          },
          "country": {
            "type": "string",
            "description": "Country",
            "example": "United States"
          },
          "zipcode": {
            "type": "string",
            "description": "Zipcode",
            "example": 10001
          },
          "countryCode": {
            "type": "string",
            "description": "ISO 3166-1 alpha-2 country code",
            "example": "US"
          },
          "notes": {
            "type": "object",
            "description": "The listing's texts, each a list with one text per language: `{\"texts\": [{\"language\": \"en\", \"value\": \"...\"}]}`.",
            "properties": {
              "description": {
                "$ref": "#/components/schemas/ListingNote"
              },
              "houseRules": {
                "$ref": "#/components/schemas/ListingNote"
              },
              "finePrint": {
                "$ref": "#/components/schemas/ListingNote"
              },
              "shortDescription": {
                "$ref": "#/components/schemas/ListingNote"
              },
              "name": {
                "$ref": "#/components/schemas/ListingNote"
              },
              "marketingName": {
                "$ref": "#/components/schemas/ListingNote"
              },
              "space": {
                "description": "Airbnb's \"The space\".",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ListingNote"
                  }
                ]
              },
              "access": {
                "description": "Airbnb's \"Guest access\".",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ListingNote"
                  }
                ]
              },
              "interaction": {
                "description": "Airbnb's \"Interaction with guests\".",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ListingNote"
                  }
                ]
              },
              "otherNotes": {
                "description": "Airbnb's \"Other details to note\".",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ListingNote"
                  }
                ]
              },
              "transit": {
                "description": "Airbnb's \"Getting around\".",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ListingNote"
                  }
                ]
              }
            }
          },
          "neighborhoodOverview": {
            "type": "object",
            "description": "Overview of the neighborhood",
            "properties": {
              "language": {
                "type": "string",
                "description": "Language of the text"
              },
              "value": {
                "type": "string",
                "description": "Text value"
              }
            }
          },
          "about": {
            "type": "object",
            "description": "About the listing",
            "properties": {
              "language": {
                "type": "string",
                "description": "Language of the text"
              },
              "value": {
                "type": "string",
                "description": "Text value"
              }
            }
          },
          "keyCollection": {
            "type": "object",
            "description": "Key collection details, how the guest gets access to the property",
            "properties": {
              "type": {
                "type": "string",
                "description": "Type of key collection"
              },
              "checkInMethod": {
                "type": "string",
                "description": "Check-in method"
              },
              "additionalInfo": {
                "type": "object",
                "description": "Additional information",
                "properties": {
                  "instruction": {
                    "type": "object",
                    "description": "Instructions for key collection",
                    "properties": {
                      "how": {
                        "type": "string",
                        "description": "How to collect the key"
                      },
                      "when": {
                        "type": "string",
                        "description": "When to collect the key"
                      }
                    }
                  }
                }
              }
            }
          },
          "policy": {
            "type": "object",
            "description": "Policy details",
            "properties": {
              "internetPolicy": {
                "type": "object",
                "description": "Internet policy",
                "properties": {
                  "accessInternet": {
                    "type": "boolean",
                    "description": "Access to internet"
                  },
                  "kindOfInternet": {
                    "type": "string",
                    "description": "Kind of internet",
                    "enum": [
                      "WiFi",
                      "Wired"
                    ]
                  },
                  "availableInternet": {
                    "type": "string",
                    "description": "Available internet",
                    "enum": [
                      "AllAreas",
                      "BusinessCenter",
                      "SomeRooms"
                    ]
                  },
                  "chargeInternet": {
                    "type": "string",
                    "description": "Charge for internet"
                  }
                }
              },
              "parkingPolicy": {
                "type": "object",
                "description": "Parking policy",
                "properties": {
                  "accessParking": {
                    "type": "boolean",
                    "description": "Access to parking"
                  },
                  "locatedParking": {
                    "type": "string",
                    "description": "Location of parking",
                    "enum": [
                      "OnSite",
                      "Nearby"
                    ]
                  },
                  "privateParking": {
                    "type": "boolean",
                    "description": "Private parking"
                  },
                  "chargeParking": {
                    "type": "string",
                    "description": "Charge for parking"
                  },
                  "timeCostParking": {
                    "type": "string",
                    "description": "Time cost for parking",
                    "enum": [
                      "PerHour",
                      "PerWeek",
                      "PerStay",
                      "PerDay"
                    ]
                  },
                  "necessaryReservationParking": {
                    "type": "string",
                    "description": "Reservation needed for parking",
                    "enum": [
                      "NoReservationNeeded",
                      "NotPossible",
                      "ReservationNeeded"
                    ]
                  }
                }
              },
              "petPolicy": {
                "type": "object",
                "description": "Pet policy",
                "properties": {
                  "allowedPets": {
                    "type": "string",
                    "description": "Allowed pets",
                    "enum": [
                      "Allowed",
                      "AllowedOnRequest",
                      "NotAllowed"
                    ]
                  },
                  "chargePets": {
                    "type": "string",
                    "description": "Charge for pets"
                  }
                }
              },
              "childrenAllowed": {
                "type": "boolean",
                "description": "Children allowed"
              },
              "smokingAllowed": {
                "type": "boolean",
                "description": "Smoking allowed"
              }
            }
          },
          "images": {
            "type": "array",
            "deprecated": true,
            "description": "The urls of `photos`, in the same order. Use `photos`.",
            "items": {
              "type": "string",
              "description": "Image URL",
              "example": "https://example.com/image.jpg"
            }
          },
          "photos": {
            "type": "array",
            "description": "The listing's photos in order. The first is the cover. Each `id` is what the photo endpoints take to reorder, caption, set the cover or delete it.",
            "items": {
              "$ref": "#/components/schemas/ListingPhoto"
            }
          },
          "minNights": {
            "type": "number",
            "description": "Minimum nights required for booking",
            "example": 2
          },
          "basePrice": {
            "type": "number",
            "description": "Base price per night",
            "example": 100
          },
          "maxGuests": {
            "type": "number",
            "description": "Maximum number of guests allowed",
            "example": 4
          },
          "amenities": {
            "type": "array",
            "description": "The listing's amenities, with quantities. Amenities no channel supports are left out.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The amenity's readable id, as `/api/setListing/{listingID}` takes it (one of the `amenities` ids from `/api/getListingContentOptions`).",
                  "example": "kitchen"
                },
                "label": {
                  "type": "string",
                  "description": "The amenity's label in `/api/getListingContentOptions`. Read-only.",
                  "example": "Kitchen"
                },
                "quantity": {
                  "type": "number",
                  "description": "Quantity of the amenity",
                  "example": 2
                }
              }
            }
          },
          "attributesWithQuantity": {
            "type": "array",
            "deprecated": true,
            "description": "Deprecated: the name `amenities` had before 1.13. It lists the same amenities, and existing integrations can keep reading it. Use `amenities`.",
            "items": {
              "type": "object",
              "properties": {
                "quantity": {
                  "type": "number",
                  "description": "Quantity of the amenity",
                  "example": 2
                },
                "attribute": {
                  "type": "string",
                  "description": "Name of the amenity: its Airbnb name where it has one, otherwise its `attributeId` (so not only the values in AmenityEnum). Never a code."
                },
                "attributeId": {
                  "type": "string",
                  "description": "The amenity's `id` in `amenities`.",
                  "example": "kitchen"
                }
              }
            }
          },
          "nearbyAmenities": {
            "type": "array",
            "description": "Nearby amenities with distances",
            "items": {
              "type": "object",
              "properties": {
                "distance": {
                  "type": "number",
                  "description": "Distance to amenity in meters",
                  "example": 500
                },
                "amenity": {
                  "type": "string",
                  "$ref": "#/components/schemas/NearbyAmenityEnum",
                  "description": "Name of the nearby amenity"
                }
              }
            }
          },
          "propertyType": {
            "type": "string",
            "description": "Type of property, as a label (e.g. \"Apartment\"). A listing whose type was imported as the channel's own label returns that label.",
            "example": "Apartment"
          },
          "propertyTypeId": {
            "type": "string",
            "description": "The property type's readable id, as `/api/setListing/{listingID}` takes it (see `/api/getListingContentOptions`). Missing when the type isn't one Airbnb, VRBO, Booking.com or Houfy supports.",
            "example": "apartment"
          },
          "messagingEnabled": {
            "type": "boolean",
            "description": "Whether messages can be sent and received for this listing. The same switch as `messagingEnabled` on `/api/setListing/{listingID}`."
          },
          "syncPricing": {
            "type": "boolean",
            "description": "Whether prices and restrictions are synced. The same switch as `syncPricing` on `/api/setListing/{listingID}`. Always `false` while `messagingEnabled` is off, because pricing sync only runs while messaging is on."
          },
          "syncAvailability": {
            "type": "boolean",
            "description": "Whether availability is synced across the connected calendars. The same switch as `syncAvailability` on `/api/setListing/{listingID}`. Always `false` while `messagingEnabled` is off."
          },
          "weeklyDiscount": {
            "type": "number",
            "description": "Discount percent (0-100) for stays of 7 nights or more. Missing when never set. While `syncPricing` is on it goes to Airbnb, VRBO, Booking.com and Houfy.",
            "example": 10
          },
          "monthlyDiscount": {
            "type": "number",
            "description": "Discount percent (0-100) for stays of 28 nights or more. Missing when never set. While `syncPricing` is on it goes to Airbnb, VRBO, Booking.com and Houfy.",
            "example": 20
          },
          "nonRefundableDiscount": {
            "type": "number",
            "description": "Discount percent (0-100) for a non-refundable rate. Missing when never set. While `syncPricing` is on it goes to Airbnb and Booking.com only, since VRBO and Houfy have no non-refundable rate.",
            "example": 10
          },
          "lastMinuteDiscount": {
            "type": "number",
            "description": "Discount percent (0-99) for bookings made within `lastMinuteDiscountDays` days of check-in. Missing when never set, and `0` once turned off. While `syncPricing` is on it goes to Airbnb as a last-minute pricing rule; VRBO, Booking.com and Houfy aren't sent it, and direct booking quotes don't apply it.",
            "example": 15
          },
          "lastMinuteDiscountDays": {
            "type": "integer",
            "description": "How many days before check-in (1-28) `lastMinuteDiscount` starts to apply. Missing when never set.",
            "example": 7
          },
          "linkedRoomID": {
            "type": "string",
            "nullable": true,
            "description": "The listing this one is linked to (its parent), or `null`. A booking on either one blocks the other. See `linkedRoomID` on `/api/setListing/{listingID}` for how links and chains block dates."
          },
          "priceSource": {
            "type": "string",
            "enum": [
              "Amount",
              "Airbnb",
              "VRBO",
              "Houfy",
              "API",
              "Listing",
              "Beyond Pricing"
            ],
            "description": "Where the listing's base prices come from. The same values `/api/setListing/{listingID}` takes, plus two it may return for a listing set up in the app: `Airbnb` (prices read from Airbnb) and `Beyond Pricing` (an old setting that can no longer be chosen). Missing when never set.",
            "example": "Amount"
          },
          "priceSourceListingID": {
            "type": "string",
            "nullable": true,
            "description": "When `priceSource` is `Listing`, the listing whose prices this one follows. Otherwise `null`."
          },
          "minPrice": {
            "type": "number",
            "description": "Minimum nightly price. Missing when never set.",
            "example": 80
          },
          "bookingWindow": {
            "type": "number",
            "description": "How many days ahead guests can book. `0` means no limit. Missing when never set.",
            "example": 365
          },
          "contentSyncEnabled": {
            "type": "boolean",
            "description": "Whether Host Tools owns the listing's content. See \"Content sync\" on `/api/setListing/{listingID}`."
          },
          "contentSyncStatus": {
            "type": "object",
            "description": "The last content push to each channel the listing is on that Host Tools pushes content to (Airbnb, VRBO as `HomeAway`, Booking.com as `Booking`, and Houfy). While content sync is on, a push follows each change to the content fields listed on `/api/setListing/{listingID}`, to the listing's photos and to its `fees`; `taxes` are never sent. A change to this status also sends a `listing.changed` webhook.",
            "properties": {
              "Airbnb": {
                "type": "object",
                "properties": {
                  "lastPushedAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true,
                    "description": "When content was last pushed. null if it never was."
                  },
                  "lastError": {
                    "type": "object",
                    "nullable": true,
                    "description": "The last push Airbnb refused, until a later push goes through. A push that fails for a temporary reason is retried and only shows here once it stops retrying. A photo Airbnb refused shows here too, while the push sent the rest.",
                    "properties": {
                      "message": {
                        "type": "string"
                      },
                      "failedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "notSent": {
                        "type": "array",
                        "description": "The fields the push left out while it sent the rest, each with why, in words you can show the user: what Host Tools' listing editor marks beside each field. Fields are named as on `/api/setListing/{listingID}`; `amenities`, `photos` and `fees` stand for the whole list, not one item of it. When a push fails as a whole, which `message` says, the fields an earlier push left out stay listed, as it may not have sent them again.",
                        "items": {
                          "$ref": "#/components/schemas/ContentSyncNotSentField"
                        }
                      }
                    }
                  },
                  "waitingFor": {
                    "type": "string",
                    "enum": [
                      "listingEnabled"
                    ],
                    "nullable": true,
                    "description": "What a push waits for before it sends anything. `listingEnabled` while the listing is disabled (`messagingEnabled` false) with content sync on: nothing is pushed until it's enabled, and then the changes saved meanwhile go, all of them if content sync was turned on while it was disabled. null otherwise."
                  }
                }
              },
              "HomeAway": {
                "type": "object",
                "properties": {
                  "lastPushedAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true,
                    "description": "When content was last pushed. null if it never was."
                  },
                  "lastError": {
                    "type": "object",
                    "nullable": true,
                    "description": "The last push VRBO refused, until a later push goes through. A push that fails for a temporary reason is retried and only shows here once it stops retrying. A photo VRBO refused shows here too, while the push sent the rest.",
                    "properties": {
                      "message": {
                        "type": "string"
                      },
                      "failedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "notSent": {
                        "type": "array",
                        "description": "The fields the push left out while it sent the rest, each with why, in words you can show the user: what Host Tools' listing editor marks beside each field. Fields are named as on `/api/setListing/{listingID}`; `amenities`, `photos` and `fees` stand for the whole list, not one item of it. When a push fails as a whole, which `message` says, the fields an earlier push left out stay listed, as it may not have sent them again.",
                        "items": {
                          "$ref": "#/components/schemas/ContentSyncNotSentField"
                        }
                      }
                    }
                  },
                  "waitingFor": {
                    "type": "string",
                    "enum": [
                      "listingEnabled"
                    ],
                    "nullable": true,
                    "description": "What a push waits for before it sends anything. `listingEnabled` while the listing is disabled (`messagingEnabled` false) with content sync on: nothing is pushed until it's enabled, and then the changes saved meanwhile go, all of them if content sync was turned on while it was disabled. null otherwise."
                  }
                }
              },
              "Booking": {
                "type": "object",
                "properties": {
                  "lastPushedAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true,
                    "description": "When content was last pushed. null if it never was."
                  },
                  "lastError": {
                    "type": "object",
                    "nullable": true,
                    "description": "The last push Booking.com refused, until a later push goes through. A push that fails for a temporary reason is retried and only shows here once it stops retrying. A value or a photo Booking.com refused shows here too, while the push sent the rest.",
                    "properties": {
                      "message": {
                        "type": "string"
                      },
                      "failedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "notSent": {
                        "type": "array",
                        "description": "The fields the push left out while it sent the rest, each with why, in words you can show the user: what Host Tools' listing editor marks beside each field. Fields are named as on `/api/setListing/{listingID}`; `amenities`, `photos` and `fees` stand for the whole list, not one item of it. When a push fails as a whole, which `message` says, the fields an earlier push left out stay listed, as it may not have sent them again.",
                        "items": {
                          "$ref": "#/components/schemas/ContentSyncNotSentField"
                        }
                      }
                    }
                  },
                  "waitingFor": {
                    "type": "string",
                    "enum": [
                      "listingEnabled"
                    ],
                    "nullable": true,
                    "description": "What a push waits for before it sends anything. `listingEnabled` while the listing is disabled (`messagingEnabled` false) with content sync on: nothing is pushed until it's enabled, and then the changes saved meanwhile go, all of them if content sync was turned on while it was disabled. null otherwise."
                  }
                }
              },
              "Houfy": {
                "type": "object",
                "properties": {
                  "lastPushedAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true,
                    "description": "When content was last pushed. null if it never was."
                  },
                  "lastError": {
                    "type": "object",
                    "nullable": true,
                    "description": "The last push Houfy refused, until a later push goes through. A push that fails for a temporary reason is retried and only shows here once it stops retrying. A fee Houfy can't take or remove shows here too, while the push sent the rest.",
                    "properties": {
                      "message": {
                        "type": "string"
                      },
                      "failedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "notSent": {
                        "type": "array",
                        "description": "The fields the push left out while it sent the rest, each with why, in words you can show the user: what Host Tools' listing editor marks beside each field. Fields are named as on `/api/setListing/{listingID}`; `amenities`, `photos` and `fees` stand for the whole list, not one item of it. When a push fails as a whole, which `message` says, the fields an earlier push left out stay listed, as it may not have sent them again.",
                        "items": {
                          "$ref": "#/components/schemas/ContentSyncNotSentField"
                        }
                      }
                    }
                  },
                  "waitingFor": {
                    "type": "string",
                    "enum": [
                      "listingEnabled"
                    ],
                    "nullable": true,
                    "description": "What a push waits for before it sends anything, as for `Airbnb`. null otherwise."
                  }
                }
              }
            }
          },
          "publishing": {
            "type": "object",
            "description": "A publish of the listing as a new channel listing that's queued or running (see `/api/publishListing/{listingID}`). Empty when none is. The entry goes once the listing is on the channel (in `channels`), or once the publish failed, which is a `listing.publishFailed` error.",
            "properties": {
              "Airbnb": {
                "type": "object",
                "properties": {
                  "accountID": {
                    "type": "string",
                    "description": "The Airbnb account it's being published to"
                  },
                  "startedAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              },
              "HomeAway": {
                "type": "object",
                "properties": {
                  "accountID": {
                    "type": "string",
                    "description": "The VRBO account a property is being created on"
                  },
                  "startedAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              },
              "Booking": {
                "type": "object",
                "properties": {
                  "accountID": {
                    "type": "string",
                    "description": "The Booking.com account (property) a room is being added to"
                  },
                  "startedAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              },
              "Houfy": {
                "type": "object",
                "properties": {
                  "accountID": {
                    "type": "string",
                    "description": "The Houfy account a listing is being created on"
                  },
                  "startedAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            },
            "example": {}
          },
          "channels": {
            "type": "object",
            "description": "External channel identifiers for connected platforms. Only keys for channels that\nare linked on this listing are present. Shape matches stored listing `channels`\nwith `id`. For direct booking, only enabled sites are listed with public `url`\n(custom domain or default direct-booking host + subdomain).\n",
            "properties": {
              "Airbnb": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Airbnb listing ID on Airbnb"
                  },
                  "accountID": {
                    "type": "string",
                    "description": "_id of the connected account this listing comes from (see /api/getAccounts)"
                  }
                }
              },
              "Booking": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Booking.com property ID"
                  },
                  "accountID": {
                    "type": "string",
                    "description": "_id of the connected account this listing comes from (see /api/getAccounts)"
                  },
                  "opening": {
                    "type": "object",
                    "description": "On a room `/api/publishListing/{listingID}` added, what it waits for before guests can book it. Absent once they can. A room on a property the user had is bookable once calendar sync has given it prices and availability. A new property is then checked with Booking.com, and Host Tools opens it once the checks pass, checking again each time calendar sync sends the listing to Booking.com (at least once a day) until then. A change sends a `listing.changed` webhook.",
                    "required": [
                      "waitingFor",
                      "newProperty"
                    ],
                    "properties": {
                      "waitingFor": {
                        "type": "string",
                        "enum": [
                          "calendarSync",
                          "review",
                          "issues"
                        ],
                        "description": "`calendarSync`: the listing's calendar sync (messaging, pricing and availability) is off, or hasn't run yet. `review`: Booking.com is still checking the new property itself: processing its photos, or its own final check, done once a day. `issues`: Booking.com's checks of the new property fail, or it won't open it; the reason is a `listing.openFailed` error."
                      },
                      "newProperty": {
                        "type": "boolean",
                        "description": "Whether the room is on a property Host Tools created for the listing, which Booking.com reviews"
                      }
                    },
                    "example": {
                      "waitingFor": "review",
                      "newProperty": true
                    }
                  }
                }
              },
              "VRBO": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "VRBO listing ID"
                  },
                  "accountID": {
                    "type": "string",
                    "description": "_id of the connected account this listing comes from (see /api/getAccounts)"
                  }
                }
              },
              "Houfy": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Houfy listing ID"
                  },
                  "accountID": {
                    "type": "string",
                    "description": "_id of the connected account this listing comes from (see /api/getAccounts)"
                  },
                  "awaitingVerification": {
                    "type": "boolean",
                    "enum": [
                      true
                    ],
                    "description": "`true` while Houfy keeps the listing out of its search, where guests find it, until the user verifies it on Houfy: they upload their ID and a recent utility bill, insurance statement or deed for the property on the listing's Verifications page, and emails info@houfy.com with the listing number if Houfy doesn't verify it. Absent once Houfy has verified it. Host Tools reads it from Houfy once a day and soon after the listing is connected, so it can stay up to a day after Houfy verifies the listing. A change sends a `listing.changed` webhook."
                  }
                }
              },
              "direct": {
                "type": "array",
                "description": "Enabled direct booking sites linked to this listing (order preserved)",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Direct booking site document ID"
                    },
                    "url": {
                      "type": "string",
                      "description": "Public site URL (https), custom domain or subdomain on the default host"
                    }
                  }
                }
              }
            }
          },
          "bedroomConfiguration": {
            "type": "object",
            "description": "Detailed bedroom and bed configuration",
            "properties": {
              "bedrooms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The room's id: a photo's `roomID` points at it, and `/api/setListing/{listingID}` takes it to keep the room when it's written back. Absent on a room saved before rooms had ids, until the listing is next saved.",
                      "example": "6a1f3c0b0f2c9c0017b0b0d1"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "Bedroom",
                        "Living Room"
                      ],
                      "description": "Type of sleeping area"
                    },
                    "beds": {
                      "type": "object",
                      "properties": {
                        "bed": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "number",
                                "description": "Number of beds of this type",
                                "example": 1
                              },
                              "bedType": {
                                "type": "string",
                                "$ref": "#/components/schemas/BedTypeEnum",
                                "description": "Type of bed"
                              },
                              "bedTypeId": {
                                "type": "string",
                                "description": "The bed type's readable id, as `/api/setListing/{listingID}` takes it (see `/api/getListingContentOptions`). Bed types no channel supports are left out.",
                                "example": "king_bed"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "rooms": {
            "type": "array",
            "description": "The listing's rooms besides its bedrooms and living rooms, in order: bathrooms, a kitchen, a pool and so on. Absent when it has none.",
            "items": {
              "type": "object",
              "required": [
                "id",
                "typeId",
                "label"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The room's id, which a photo's `roomID` points at",
                  "example": "6a1f3c0b0f2c9c0017b0b0d2"
                },
                "typeId": {
                  "type": "string",
                  "description": "One of the `roomTypes` ids from `/api/getListingContentOptions`",
                  "example": "full_bathroom"
                },
                "label": {
                  "type": "string",
                  "example": "Full bathroom"
                }
              }
            }
          },
          "fees": {
            "type": "array",
            "description": "The listing's fees, in the shape `/api/setListing/{listingID}` takes. Host Tools uses them for direct booking quotes and the Google Vacation Rentals feed, and sends them to Airbnb, VRBO, Booking.com and Houfy while content sync is on (see \"Fees\" under `/api/setListing/{listingID}`). A change to them sends a `listing.changed` webhook.",
            "items": {
              "$ref": "#/components/schemas/ListingFee"
            }
          },
          "taxes": {
            "type": "array",
            "description": "The listing's taxes. Host Tools uses them for direct booking quotes and the Google Vacation Rentals feed. They aren't sent to channels: Airbnb, VRBO, Booking.com and Houfy each manage their own taxes.",
            "items": {
              "$ref": "#/components/schemas/ListingTax"
            }
          }
        }
      },
      "ListingFee": {
        "type": "object",
        "required": [
          "name",
          "feeType",
          "unit",
          "valueType"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "What the guest sees on the quote",
            "example": "Cleaning fee"
          },
          "kind": {
            "type": "string",
            "enum": [
              "cleaning",
              "short_term_cleaning",
              "extra_guest",
              "pet",
              "security_deposit",
              "management",
              "resort",
              "community",
              "linens",
              "bath_linens",
              "electricity",
              "water",
              "heating",
              "air_conditioning",
              "utility",
              "internet",
              "laundry",
              "parking",
              "pool",
              "hot_tub",
              "club",
              "property",
              "other"
            ],
            "description": "What the fee is. While content sync is on, it decides which of the channel's fees it goes as (see \"Fees\" under `/api/setListing/{listingID}`), so renaming a fee changes nothing on a channel. `other` is a fee no channel has. Always returned. A write that leaves it out gets the kind Host Tools works out from the fee's `feeType`, `unit` and `name` (a fee named \"Cleaning fee\" is `cleaning`), so send back the one `getListing` returned to keep it. Direct booking quotes don't read it: they charge by `feeType`.",
            "example": "cleaning"
          },
          "feeType": {
            "type": "string",
            "enum": [
              "GENERAL",
              "PET_FEE",
              "DEPOSIT"
            ],
            "description": "A `PET_FEE` is charged only when the guest brings pets, and its `PER_PERSON` units count pets instead of guests."
          },
          "unit": {
            "type": "string",
            "enum": [
              "PER_STAY",
              "PER_DAY",
              "PER_PERSON",
              "PER_DAY_PER_PERSON",
              "PER_DAY_PER_PERSON_EXTRA"
            ],
            "description": "How often it's charged. `PER_PERSON` is per guest past the `option` included, once a stay. `PER_DAY_PER_PERSON_EXTRA` is per night per guest past the `option` included; a pet fee can't use it."
          },
          "value": {
            "type": "number",
            "minimum": 0,
            "description": "The amount in the listing's currency, or a percentage of the stay when `valueType` is `PERCENT` (at most 100). A fee without one charges nothing.",
            "example": 125
          },
          "valueType": {
            "type": "string",
            "enum": [
              "FLAT",
              "PERCENT"
            ],
            "description": "`PERCENT` is allowed only on a `PER_STAY` fee."
          },
          "taxType": {
            "type": "string",
            "enum": [
              "TAXABLE",
              "NOT_TAXABLE"
            ],
            "description": "Whether the listing's taxes apply to this fee. When it's left out they do."
          },
          "option": {
            "type": "integer",
            "minimum": 0,
            "description": "The guests included before the fee is charged. Only on a `PER_PERSON` or `PER_DAY_PER_PERSON_EXTRA` fee that isn't a pet fee, and required (at least 1) on a `PER_DAY_PER_PERSON_EXTRA` fee. Returned only on those.",
            "example": 4
          },
          "notSentTo": {
            "type": "array",
            "readOnly": true,
            "description": "The channels the listing is on that content sync won't send this fee to, each with why, in words you can show the user (see \"Fees\" under `/api/setListing/{listingID}`): what Host Tools' fee editor marks on the fee. Returned only when there's one. It's worked out on each read, so it follows the listing's channels and pet policy. A write ignores it, so a fee can be sent back as it was returned.",
            "items": {
              "type": "object",
              "required": [
                "channel",
                "reason"
              ],
              "properties": {
                "channel": {
                  "type": "string",
                  "enum": [
                    "Airbnb",
                    "VRBO",
                    "Booking",
                    "Houfy"
                  ]
                },
                "reason": {
                  "type": "string",
                  "example": "VRBO takes a pet fee only while the listing allows pets, so it won't be sent."
                }
              }
            }
          }
        }
      },
      "ListingTax": {
        "type": "object",
        "required": [
          "name",
          "type",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "Sales tax"
          },
          "type": {
            "type": "string",
            "enum": [
              "SalesTaxIncluded",
              "SalesTaxExcluded"
            ],
            "description": "`SalesTaxIncluded` when the price already includes it, so it's shown on the quote but not added to the total."
          },
          "value": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "A percentage of the stay and its taxable fees.",
            "example": 8.5
          }
        }
      },
      "ListingPhoto": {
        "type": "object",
        "required": [
          "id",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The photo's id, to pass to the photo endpoints. It stays the same when the photos are reordered or captioned, but changes if the listing's photos are imported from a channel again.",
            "example": "6a1f3c0b0f2c9c0017b0b0c1"
          },
          "url": {
            "type": "string",
            "example": "https://example.com/image.jpg"
          },
          "caption": {
            "type": "string",
            "description": "Present only when the photo has a caption",
            "example": "Ocean view from the balcony"
          },
          "roomID": {
            "type": "string",
            "description": "The id of the room the photo is in: a bedroom's or living room's `id` in `bedroomConfiguration`, or one of `rooms`. Absent when the photo is in no room.",
            "example": "6a1f3c0b0f2c9c0017b0b0d1"
          }
        }
      },
      "ListingText": {
        "type": "object",
        "description": "A text in one language.",
        "required": [
          "language",
          "value"
        ],
        "properties": {
          "language": {
            "type": "string",
            "description": "Language of the text",
            "example": "en"
          },
          "value": {
            "type": "string",
            "description": "Text value",
            "example": "A quiet street five minutes from the beach."
          }
        }
      },
      "ListingNote": {
        "type": "object",
        "description": "A note's texts, one per language.",
        "required": [
          "texts"
        ],
        "properties": {
          "texts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingText"
            }
          }
        }
      },
      "NearbyAmenityEnum": {
        "type": "string",
        "enum": [
          "Airport",
          "Ferry",
          "Shopping",
          "Railway",
          "Beach"
        ],
        "description": "Possible nearby amenity values that can be returned in the listing's nearbyAmenities fields.\nThese values are standardized across different booking platforms (Airbnb, Booking.com, etc.)\n"
      },
      "Success": {
        "required": [
          "success"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          }
        }
      },
      "ListingWebhook": {
        "type": "object",
        "required": [
          "type",
          "event",
          "document"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "listing"
            ]
          },
          "event": {
            "type": "string",
            "enum": [
              "listing.created",
              "listing.changed",
              "listing.deleted"
            ]
          },
          "document": {
            "description": "For `listing.created` and `listing.changed`, the listing as /api/getListing/{listingID} returns it at the time of sending. For `listing.deleted`, only `_id` and `userID`.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/Listing"
              },
              {
                "$ref": "#/components/schemas/DeletedRecord"
              }
            ]
          }
        }
      },
      "DeletedRecord": {
        "type": "object",
        "required": [
          "_id",
          "userID"
        ],
        "properties": {
          "_id": {
            "type": "string",
            "description": "ID of the deleted listing or listing group",
            "example": "5e7a6c0b0f2c9c0017b0b0b0"
          },
          "userID": {
            "type": "string",
            "description": "User ID it belonged to",
            "example": "5e7a6c0b0f2c9c0017b0b0b0"
          }
        }
      },
      "ContentSyncNotSentField": {
        "type": "object",
        "description": "A field a channel didn't take, and why, in words you can show the user.",
        "required": [
          "field",
          "reason"
        ],
        "properties": {
          "field": {
            "type": "string",
            "enum": [
              "name",
              "propertyTypeId",
              "maxGuests",
              "bedrooms",
              "bathrooms",
              "bedroomConfiguration",
              "rooms",
              "space",
              "spaceUnit",
              "amenities",
              "checkInTime",
              "checkOutTime",
              "keyCollection.checkInMethod",
              "keyCollection.additionalInfo.instruction.how",
              "notes.shortDescription",
              "notes.description",
              "notes.houseRules",
              "notes.space",
              "notes.access",
              "notes.interaction",
              "notes.otherNotes",
              "notes.transit",
              "neighborhoodOverview",
              "policy.internetPolicy.wifi",
              "policy.childrenAllowed",
              "policy.smokingAllowed",
              "policy.petPolicy.allowedPets",
              "photos",
              "fees"
            ]
          },
          "reason": {
            "type": "string"
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    },
    {
      "authToken": []
    }
  ],
  "paths": {
    "/webhooks/listing": {
      "post": {
        "summary": "Webhook Listing",
        "description": "This documents the webhook payload that Host Tools will POST to your configured webhook URL when a listing is added, changed or deleted.\n\n**Note: This is not an API endpoint you call.**\nThis documents the requests that Host Tools sends TO your webhook URL.\n\n## When triggered:\n- `listing.created`: a listing is added (imported or created)\n- `listing.changed`: a field returned by /api/getListing changes (for example the name, description, photos, prices or settings). Several edits within 30 seconds are sent as one webhook with the latest data.\n- `listing.deleted`: a listing is deleted\n\nA listing joining or leaving a listing group is sent as `listingGroup.changed`, not `listing.changed`.\n\n## Handling the webhook:\n1. Your endpoint should respond with HTTP 200 status\n2. Process the data asynchronously if needed\n3. Respond within 30 seconds\n",
        "tags": [
          "Webhook"
        ],
        "requestBody": {
          "description": "Webhook payload sent by Host Tools",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListingWebhook"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook received successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Success"
                }
              }
            }
          }
        }
      }
    }
  }
}
```