hostex
Hostex (hostex.io) OpenAPI v3.0 skill for querying and managing vacation rental properties, room types.
Setup & Installation
Install command
clawhub install ansonfreeman/hostexIf the CLI is not installed:
Install command
npx clawhub@latest install ansonfreeman/hostexOr install with OpenClaw CLI:
Install command
openclaw skills install ansonfreeman/hostexor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/ansonfreeman/hostexWhat This Skill Does
Connects to the Hostex vacation rental management platform via its OpenAPI v3.0 API. Supports querying properties, room types, reservations, availability, listing calendars, guest messages, and reviews. Reads are safe by default; writes require an opt-in env flag and explicit per-command confirmation.
Write operations are gated behind both an env flag and a --confirm argument, so an agent cannot modify live pricing or availability without deliberate user approval.
When to Use It
- Check which reservations are checking in next week
- Block a property from new bookings during a maintenance window
- Update nightly prices on an Airbnb or Booking.com listing
- Send a message to a guest through the Hostex inbox
- Create a direct booking reservation for a known guest
View original SKILL.md file
# Hostex API Skill (Node) ## Auth (PAT) - Set env var: `HOSTEX_ACCESS_TOKEN` - Requests use header: `Hostex-Access-Token: <PAT>` - OpenAPI security scheme name: `HostexAccessToken` **Default recommendation:** use a **read-only** PAT. ## Dates / timezone - All date params are `YYYY-MM-DD` - Interpret dates in **property timezone** (no UTC timestamps) ## OpenAPI source of truth Stable OpenAPI JSON: - https://hostex.io/open_api/v3/config.json Use `scripts/openapi-sync.mjs` to cache a local copy into `references/openapi.json`. ## Quick commands (scripts) All scripts expect `HOSTEX_ACCESS_TOKEN`. ### Read-only (safe) List properties: ```bash node skills/hostex/scripts/hostex-read.mjs list-properties --limit 20 ``` List reservations (by check-in range): ```bash node skills/hostex/scripts/hostex-read.mjs list-reservations --start-check-in-date 2026-02-01 --end-check-in-date 2026-02-28 --limit 20 ``` List reservations (by reservation code): ```bash node skills/hostex/scripts/hostex-read.mjs list-reservations --reservation-code 0-1234567-abcdef ``` Get availability: ```bash node skills/hostex/scripts/hostex-read.mjs get-availabilities --start 2026-02-10 --end 2026-02-20 --property-id 123 ``` ### Writes (guarded) Writes are disabled unless: - `HOSTEX_ALLOW_WRITES=true` and you pass `--confirm`. Send message: ```bash HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs send-message --conversation-id 123 --text "Hello!" --confirm ``` Update listing prices (single range example): ```bash HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \ --channel-type airbnb \ --listing-id 456 \ --start 2026-02-10 \ --end 2026-02-15 \ --price 199 \ --confirm ``` Update listing prices (multi-range in one request): ```bash HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \ --channel-type booking_site \ --listing-id 100541-10072 \ --prices "2026-02-03..2026-02-05:599,2026-02-06..2026-02-07:699,2026-02-08..2026-02-09:599" \ --confirm ``` Create reservation (Direct Booking) (example): ```bash HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs create-reservation \ --property-id 123 \ --custom-channel-id 77 \ --check-in-date 2026-02-10 \ --check-out-date 2026-02-12 \ --guest-name "Alice" \ --currency USD \ --rate-amount 200 \ --commission-amount 0 \ --received-amount 200 \ --income-method-id 3 \ --confirm ``` Update property availabilities (close/open) (example): ```bash # Close a property for a date range HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-availabilities \ --property-ids "11322075" \ --available false \ --start-date 2026-02-03 \ --end-date 2027-02-02 \ --confirm ``` ## Operational guardrails (mandatory) When doing any write operation: 1) **Summarize the change** (who/what/when/how much). 2) Require the user to explicitly confirm (e.g. `CONFIRM`). 3) Prefer `--dry-run` first if available. ## Notes - Pagination: endpoints commonly accept `offset` + `limit` (limit max 100). - Never print tokens in logs; scripts redact secrets automatically.
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Check which reservations are checking in next week
- 1Check which reservations are checking in next week
- 2Block a property from new bookings during a maintenance window
- 3Update nightly prices on an Airbnb or Booking.com listing
- 4Send a message to a guest through the Hostex inbox
- 5Create a direct booking reservation for a known guest
Hostex (hostex.io) OpenAPI v3.0 skill for querying and managing vacation rental properties, room types.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.