Skip to content

Hostaway

Hostaway is a property management system (PMS) designed for vacation rental managers and hosts. It provides tools for managing listings, reservations, channels, and guest communications across multiple booking platforms.

To set up a Hostaway connection, you need to have an API access token generated through OAuth 2.0 client credentials authentication.

Set up a connection

Hostaway connections are defined using the following properties:

  • name: The name to identify this connection
  • api_key: Your Hostaway API access token (required)
yaml
connections:
  hostaway:
    - name: "my_hostaway"
      api_key: "your_access_token_here"

You can also use environment variables in your connections.yml by using the ${VAR_NAME} syntax.

For example:

yaml
connections:
  hostaway:
    - name: "my_hostaway"
      api_key: ${HOSTAWAY_API_KEY}

Getting Your API Access Token

Hostaway uses OAuth 2.0 client credentials for authentication. Follow these steps to obtain an API access token:

1. Get Your Credentials

First, you need your Hostaway account credentials:

  • client_id: Your Hostaway account ID
  • client_secret: Your API client secret (available in Hostaway settings)

2. Generate an Access Token

Use the following curl command to generate an access token:

bash
curl -X POST https://api.hostaway.com/v1/accessTokens \
  -H 'Cache-control: no-cache' \
  -H 'Content-type: application/x-www-form-urlencoded' \
  -d 'grant_type=client_credentials&client_id=YOUR_ACCOUNT_ID&client_secret=YOUR_CLIENT_SECRET&scope=general'

The response will contain an access token (JWT) that you'll use as your api_key in the connection configuration.

3. Revoking Access Tokens

To revoke an access token when it's no longer needed:

bash
curl -X DELETE 'https://api.hostaway.com/v1/accessTokens?token=YOUR_ACCESS_TOKEN' \
  -H 'Content-type: application/x-www-form-urlencoded'

Available Source Tables

TablePKInc KeyInc StrategyDetails
listingsidlatestActivityOnmergeProperty listings managed in Hostaway
listing_fee_settingsidupdatedOnmergeFee settings configured for each listing
listing_pricing_settings--replacePricing rules and settings for listings
listing_agreements--replaceRental agreements associated with listings
listing_calendars--replaceCalendar availability data for each listing. Uses parallelization for performance
cancellation_policies--replaceGeneral cancellation policies
cancellation_policies_airbnb--replaceAirbnb-specific cancellation policies
cancellation_policies_marriott--replaceMarriott-specific cancellation policies
cancellation_policies_vrbo--replaceVRBO-specific cancellation policies
reservations--replaceBooking reservations across all channels
finance_fields--replaceFinancial data for each reservation. Uses parallelization for performance
reservation_payment_methods--replaceAvailable payment methods for reservations
reservation_rental_agreements--replaceRental agreements for specific reservations. Uses parallelization for performance
conversations--replaceGuest communication threads
message_templates--replacePre-configured message templates
bed_types--replaceAvailable bed type configurations
property_types--replaceProperty type classifications
countries--replaceSupported countries and their codes
account_tax_settings--replaceTax configuration for the account
user_groups--replaceUser groups and permissions
guest_payment_charges--replaceGuest payment transaction records
coupons--replaceDiscount coupons and promotional codes
webhook_reservations--replaceWebhook configurations for reservation events
tasks--replaceTasks and to-dos within the system

Notes

  • Authentication: Hostaway uses OAuth 2.0 client credentials authentication. Access tokens are JWTs with configurable expiration times - manage them securely and rotate them as needed.
  • Incremental Loading: Only listings and listing_fee_settings support incremental loading. Use --interval-start and --interval-end parameters for these tables.
  • API Documentation: More details on the Hostaway API can be found in the official API documentation.
  • Rate Limits: Be aware of Hostaway API rate limits when ingesting large amounts of data.