Track a hotel's price
track_hotelUse to start price alerts on one hotel from search_hotels for those dates, after the traveler confirms. Alerts go to the account's channels when the price drops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Send alerts by text message. Needs a verified phone on the SlickTrip account; empty keeps the account's setting. | |
| No | Send alerts by email. Empty keeps the account's setting. | ||
| hotel_id | Yes | A hotel_id from search_hotels. | |
| alert_rule | No | When to alert: lowest = only a new low, any = every price move, none = off. Leave empty for the default, or give target_price_usd instead. | |
| search_key | Yes | The search_key from search_hotels. | |
| search_url | No | The search_url from the same search_hotels result, so the alert reopens the same filtered search (stars, price range, amenities). Empty tracks against the plain search. | |
| target_price_usd | No | Alert when the price goes under this, USD. Replaces alert_rule. It is the TOTAL: the whole trip for all travelers on a flight, the whole stay on a hotel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| note | No | Manage on saved-hotels page or already tracked | |
| stay | No | location, check_in, check_out, adults, children | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| alerts | No | Plain-words description of alerts | |
| status | No | tracking | already_tracking | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| hotel_id | No | The tracked hotel's property token | |
| hotel_url | No | slicktrip.com hotel page link | |
| saved_url | No | slicktrip.com saved-hotels page link | |
| search_key | No | The hotel search key | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| tracking_id | No | The stay's tracking record id | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler | |
| current_price_usd | No | already_tracking only: current tracked price | |
| added_to_existing_stay | No | Merged into an existing stay record |