Track seats on a flight
track_seatsUse to start seat alerts on one flight, after the traveler confirms: named seats, or every seat of a kind (window, aisle, middle, any), optionally only when N seats open together in a row. Alerts go to the account's channels when a watched seat opens.
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. | |
| cabin | No | Cabin to look at; any = every cabin on the flight. | economy |
| No | Send alerts by email. Empty keeps the account's setting. | ||
| seats | No | Seat numbers to watch. | |
| origin | Yes | A 3-letter airport code (JFK), or a city code that searches every airport in the city (SlickTrip's 4-letter codes: NYCA New York, LOND London, ROME Rome, TYOA Tokyo). Up to 3 places joined with _ search them together (JFK_EWR). A place name works when one place clearly matches; otherwise the result is an unknown_place error listing suggestions. Unsure of the code: call find_places. | |
| seat_type | No | Watch every open seat of this kind instead of naming seats. | |
| depart_date | Yes | YYYY-MM-DD. | |
| destination | Yes | A 3-letter airport code (JFK), or a city code that searches every airport in the city (SlickTrip's 4-letter codes: NYCA New York, LOND London, ROME Rome, TYOA Tokyo). Up to 3 places joined with _ search them together (JFK_EWR). A place name works when one place clearly matches; otherwise the result is an unknown_place error listing suggestions. Unsure of the code: call find_places. | |
| flight_number | Yes | Airline code and number, no space. | |
| seats_together | No | Alert only when this many seats are open together in one row, 2-6. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| note | No | Manage on saved-seats page | |
| cabin | No | Cabin tracked, or list when several | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| alerts | No | Plain-words description of alerts | |
| flight | No | flight_number, origin, destination, departure_time, arrival_time, aircraft, airline | |
| status | No | tracking | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| tracked | No | seats, seat_type, specific_seats, seats_together, open_now | |
| channels | No | Alert channels on the record: email, text (booleans) | |
| saved_url | No | slicktrip.com saved-seats page link | |
| 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_key | No | Seat tracking key: route;departure_time;flight_number | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler | |
| merged_with_existing | No | Added to an existing seat alert |