First-party app
Hostaway

Hostaway

Manage Hostaway vacation-rental listings, calendars, reservations, guest conversations, reviews, tasks and financial reports.

stable Customer Relationship ManagementCalendar & Scheduling

About

Hostaway ships in the w6w first-party pack. It declares 21 actions, 4 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.hostaway
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Customer Relationship Management · Calendar & Scheduling

Overview

Hostaway is vacation-rental / property-management software: it sits between a host’s own listings and the channels they sell on (Airbnb, Booking.com, Vrbo, Marriott, direct) and owns the calendar, the reservation, the guest conversation, the review and the money.

This app covers that operational surface end to end. Listings can be listed and searched (by city, country, contact, property type or name) and read or partially updated. A listing’s calendar can be read for a date range and updated in one call with a price/availability/stay-restriction interval. Reservations can be listed with the documented arrival/departure/date-type filters, read, created, updated and cancelled. Guest conversations can be listed and read, their messages listed, and a message sent (that endpoint is rate-limited to 30 requests per minute per account). Reviews can be listed with the documented filters and read individually, tasks listed and created, and the account’s static reference data — amenities and property types — can be read so a workflow can resolve the ids those writes expect. A financial standard report can be requested as CSV, gated on a doc-commented account feature.

Authentication is OAuth2 client credentials against Hostaway’s single public API version: the numeric Hostaway account ID and the account’s client secret are exchanged for a bearer token, so the app works in scheduled, unattended runs with no browser sign-in.

Health comes from the API itself rather than a status page, because Hostaway publishes none that exists: a signed GET /v1/users?limit=1 probe classified from Hostaway’s own status envelope, an unsigned probe of the same endpoint that proves the API is reachable when no credential is available, and a declared absence recording that no machine-readable Hostaway status surface exists.

Build with Hostaway

Three routes to the same 21 actions. The Workflow tab is generated from Hostaway's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Cancel a reservation

cancel-reservation

Cancel one reservation, recording whether the host or the guest cancelled.

Create a reservation

create-reservation

Create a reservation on one of the account's listings.

Create a task

create-task

Create a task, optionally attached to a listing or reservation.

Get a listing calendar

get-calendar

Read a listing's calendar days for a date range.

Get a conversation

get-conversation

Show one guest conversation.

Get the financial standard report

get-finance-standard-report

Download the standard financial report for a date range as CSV. Requires financial reporting to be enabled on the account.

Get a listing

get-listing

Show one listing in full.

Get a reservation

get-reservation

Show one reservation in full, including its cancellation policy snapshot.

Get a review

get-review

Show one review, optionally with its template variables expanded.

List amenities

list-amenities

List the amenity ids and names Hostaway accepts on a listing.

List conversation messages

list-conversation-messages

List the messages in one conversation, newest state included.

List conversations

list-conversations

List guest conversations, optionally for one reservation.

List listings

list-listings

List the account's listings, optionally filtered by city, country, contact name, property type or a name search.

List property types

list-property-types

List the property type ids and names Hostaway accepts on a listing.

List reservations

list-reservations

List reservations, filtered by listing, channel, guest name or a date range.

List reviews

list-reviews

List guest and host reviews, filtered by listing, reservation, type, status or rating.

List tasks

list-tasks

List tasks, filtered by channel, reservation, status or a start/end window.

Send a conversation message

send-conversation-message

Send a message in a guest conversation. Hostaway rate-limits this endpoint to 30 requests per minute per account.

Update a listing calendar

update-calendar

Update availability, price and stay restrictions for a date interval on one listing's calendar.

Update a listing

update-listing

Partially update one listing's descriptive, pricing and policy fields.

Update a reservation

update-reservation

Update one reservation's dates, guests, pricing, notes or door code.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Hostaway's real ids.

{
  "manifestVersion": "2",
  "name": "hostaway-example",
  "steps": [
    {
      "id": "create-reservation",
      "uses": {
        "app": "io.w6w.hostaway",
        "action": "create-reservation",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "channelId": "<channelId>",
        "listingMapId": "<listingMapId>",
        "arrivalDate": "<arrivalDate>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create a reservation

    perform
    create-reservation
  • Create a task

    perform
    create-task
  • Get a listing calendar

    read
    get-calendar
  • Get a conversation

    read
    get-conversation
  • Get the financial standard report

    read
    get-finance-standard-report

+16 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Hostaway, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Hostaway. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "create-reservation",
  payload: {
    channelId: "<value>",
    listingMapId: "<value>",
    arrivalDate: "<value>",
    departureDate: "<value>",
    // guestName: "<value>",
    // guestFirstName: "<value>",
    // guestLastName: "<value>",
    // guestEmail: "<value>",
    // phone: "<value>",
    // numberOfGuests: "<value>",
    // adults: "<value>",
    // children: "<value>",
    // infants: "<value>",
    // pets: "<value>",
    // totalPrice: "<value>",
    // currency: "<value>",
    // cleaningFee: "<value>",
    // taxAmount: "<value>",
    // isPaid: "<value>",
    // guestNote: "<value>",
    // hostNote: "<value>",
    // comment: "<value>",
    // doorCode: "<value>",
    // couponName: "<value>",
    // forceOverbooking: "<value>",
    // provider: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action create-reservation --payload '{"channelId":"<value>","listingMapId":"<value>","arrivalDate":"<value>","departureDate":"<value>"}'

Give an AI agent Hostaway — without giving it Hostaway's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.hostaway#create-reservation",
    "input": {
      "channelId": "<channelId>",
      "listingMapId": "<listingMapId>",
      "arrivalDate": "<arrivalDate>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Hostaway connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Hostaway's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Hostaway itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Hostaway declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Hostaway platform status

No status page exists: status.hostaway.com does not resolve and hostaway.statuspage.io is an unclaimed subdomain that redirects to statuspage.io's own marketing site.

dependency

Hostaway API answering for this account

Signed GET /v1/users?limit=1, classified from Hostaway's own `status` envelope rather than the HTTP status code. Reports X-RateLimit-* headroom when a 429 carries it.

dependency

Hostaway API reachable (unsigned)

Unsigned GET /v1/users?limit=1. A well-formed {"status":"fail",...} envelope proves the API is reachable and speaking Hostaway's own protocol without proving this connection's credential is live — so this check is informational and never reports `down`.

quota

API quota headroom

Not exposed in advance: Hostaway documents fixed per-endpoint windows and states its X-RateLimit-* headers appear on 429 responses only, so headroom can only be read after a limit is hit (health/api.ts reports it there).