The Hostaway API allows for automation and integration with their property management platform. It provides endpoints for managing listings, bookings, messages, and more. On Pipedream, you can leverage these endpoints to create automated workflows that connect Hostaway with various other services, such as calendars, email, and messaging apps, or even custom functions for enhanced property management. Whether you're aiming to synchronize booking calendars or automate guest communication, the Hostaway API on Pipedream enables you to streamline operations and enhance guest experiences with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hostaway: {
type: "app",
app: "hostaway",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hostaway.com/v1/users`,
headers: {
Authorization: `Bearer ${this.hostaway.$auth.oauth_access_token}`,
"Cache-control": `no-cache`,
},
})
},
})
Sync Hostaway Bookings with Google Calendar: Automatically create or update events in a Google Calendar when new bookings are made in Hostaway. This can keep your team informed and ensure that everyone's calendar is always up-to-date with the latest booking information.
Automate Guest Communication: Send personalized welcome emails or messages via SendGrid or Twilio when a new booking is recorded on Hostaway. This workflow can be expanded to send out check-in instructions, local recommendations, or a thank-you message post-checkout, enhancing the guest experience without manual effort.
Aggregate Reviews for Analysis: Collect reviews from Hostaway and store them in a Google Sheet or send them to a data warehouse like Snowflake. Analyze guest feedback to identify trends and areas for improvement, or use this data to automate responses to recurring questions or concerns.
Emit new event when a new message is received in Hostaway.
Emit new event when a new reservation is created in Hostaway.
Emit new event when a reservation is updated in Hostaway.
Send a conversation message to a guest in Hostaway. See the documentation
Hostaway uses OAuth authentication. When you connect your Hostaway account, Pipedream will open a popup window where you can sign into Hostaway and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Hostaway API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://api.hostaway.com/v1/accessTokens
content-type: application/x-www-form-urlencoded
Cache-control: no-cache
client_id={{custom_fields.account_id}}
&
client_secret={{custom_fields.api_key}}
&
grant_type=client_credentials
&
scope=general
POST
https://api.hostaway.com/v1/accessTokens
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.account_id}}
&
client_secret={{custom_fields.api_key}}
&
grant_type=client_credentials
&
scope=general