Menu/properties/{id}/guide

Get the Property Guide of a Property

GET/api/v1/properties/{id}/guide
Requires property_guide.read

The practical information a guest asks about: address and GPS coordinates, contact details, check-in and check-out times, Wi-Fi, bedrooms, beds and bathrooms, amenities, website texts, welcome booklet, the custom Shortcodes of the host that apply to the Property (with their value per language) and the active Knowledge of the account and of the Property.

An empty field is null, never omitted. A Property outside the Connection Scope answers not_found, exactly like a missing one.

Parameters

Path parameters

  • idstring (uuid)required

    Property id.

Responses

200The Property Guide.

application/jsonPropertyGuide

  • property_idstring (uuid)required
  • namestringrequired
  • addressPropertyGuideAddressrequired

    Address of the Property.

    Show 6 child attributes
    • streetstring | nullrequired

      Street address.

    • postal_codestring | nullrequired

      Postal code.

    • citystring | nullrequired

      City.

    • statestring | nullrequired

      State or region.

    • countrystring | nullrequired

      Country, as entered by the host (usually an ISO 3166-1 alpha-2 code).

    • formattedstring | nullrequired

      The full address on one line.

  • coordinatesobjectrequired

    GPS coordinates (WGS 84).

    Show 2 child attributes
    • latitudenumber | nullrequired
    • longitudenumber | nullrequired
  • contactobjectrequired

    Contact details of the Property.

    Show 3 child attributes
    • phonestring | nullrequired

      Phone number of the Property.

    • emailstring | nullrequired

      Email address of the Property.

    • websitestring | nullrequired

      Website of the Property.

  • check_in_timestring | nullrequired

    Check-in time, HH:MM in the time zone of the Property.

  • check_out_timestring | nullrequired

    Check-out time, HH:MM in the time zone of the Property.

  • wifiobjectrequired

    Wi-Fi of the Property.

    Show 2 child attributes
    • network_namestring | nullrequired

      Wi-Fi network name.

    • passwordstring | nullrequired

      Wi-Fi password.

  • roomsobjectrequired

    Number of bedrooms, beds and bathrooms.

    Show 3 child attributes
    • bedroomsinteger | nullrequired
    • bedsinteger | nullrequired
    • bathroomsnumber | nullrequired

      May be fractional, e.g. 1.5.

  • amenitiesPropertyGuideAmenity[]required
    Show 2 child attributes
    • idstringrequired

      Stable amenity id.

    • namestringrequired

      Amenity name, in English.

  • website_textsPropertyGuideWebsiteTexts[]required

    Website texts of the Property, one entry per language.

    Show 4 child attributes
    • languagestring | nullrequired

      ISO 639-1 language of the texts; null for the texts of a Property without a translated website.

    • descriptionstring | nullrequired

      Description of the Property.

    • important_informationstring | nullrequired

      Important information for guests.

    • good_to_knowstring | nullrequired

      Good to know.

  • welcome_booklet_urlstring | nullrequired

    Link to the welcome booklet of the Property.

  • shortcodesPropertyGuideShortcode[]required
    Show 4 child attributes
    • shortcodestringrequired

      The Shortcode as the host writes it in messages, e.g. {{custom.parking}}.

    • namestringrequired
    • descriptionstring | nullrequired
    • valuesobject[]required

      The value for this Property, per language.

      Show 2 child attributes
      • languagestringrequired

        ISO 639-1 language.

      • valuestringrequired
  • knowledgePropertyGuideKnowledge[]required

    Account entries first, then the entries of this Property.

    Show 3 child attributes
    • themestringrequired

      One of arrival, departure, parking, amenities, rules, neighbourhood, housekeeping, services, other.

    • kindstringrequired

      fact: something true about the stay. instruction: how the host wants guests to be answered.

      One of: fact instruction

    • contentstringrequired
401Error code: unauthorized, connection_revoked.

Error codes

  • unauthorized The access token is missing, unknown, expired or revoked, or was issued before the account connected the App again. Refresh it; if refreshing fails, ask the owner to connect again.
  • connection_revoked The owner revoked the App Connection (or your App revoked its own refresh token). Stop calling for this account and drop its tokens.
402Error code: subscription_blocked.

Error codes

  • subscription_blocked The ZenHost subscription of the account is blocked (unpaid, cancelled…). The connection is kept: tell your customer, calls work again once the subscription is restored.
403Error code: app_suspended, forbidden_permission.

Error codes

  • app_suspended ZenHost suspended your App, or no longer allows it on this account. Stop calling and contact ZenHost.
  • forbidden_permission Your App was not granted the Permission this endpoint requires.
404Error code: not_found.

Error codes

  • not_found The resource does not exist or is outside the Connection Scope (both look the same), or the path is not an endpoint of /api/v1.
429Error code: rate_limited.

Header Retry-After — Seconds to wait before the next call is allowed. Limits per App Connection: 60 reads (GET), 10 writes (other POST) and 30 messages sent to guests per minute.

Error codes

  • rate_limited Too many calls on this App Connection. Wait for the number of seconds in Retry-After.
500Error code: internal_error.

Error codes

  • internal_error ZenHost failed to answer. Retry later with a back-off.

Every error code and what to do