List subscriptions
list_subscriptionsRetrieve and page through API-key subscriptions to find a subscription ID before inspecting, updating, pausing, resuming, deleting, or logging calls; filter by status, date, carrier, or flight number.
Instructions
List the subscriptions owned by this API key, newest first, as {total, data}. All filters are optional; page with limit and offset. Secrets are masked (secretHint). Use it to find a subscription id before get, update, pause, resume, delete or log calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Local departure date at the origin airport, YYYY-MM-DD. A flight that leaves at 23:50 and lands the next morning belongs to the day it left. Live records cover a few days back to about two days ahead. | |
| limit | No | Page size, 1 to 200. Default 25. | |
| offset | No | How many to skip, for paging. Default 0. | |
| status | No | Only subscriptions in this state: active (being polled), pending (flight not published yet), paused, completed (flight over) or suspended (20 failed deliveries in a row). | |
| carrier | No | Airline code: the 2-character IATA code (e.g. "TK") or 3-character ICAO code (e.g. "THY"). For flight "TK1848" this is "TK". | |
| flightNumber | No | Flight number without the airline code: 1 to 4 digits and an optional letter suffix. For "TK1848" this is "1848". Leading zeros are ignored. |