HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
/flight_status_updatesOtherPublish Flight Status Update
Notify HTS that a flight's status has changed, such as a delay or a cancellation. HTS uses the notification to identify affected contracts and trigger the appropriate disruption flows.
Request body application/json · required
flightThe flight whose status has changed.
Show fields
marketing_airline_codeThe IATA carrier code of the marketing airline of the flight.
[A-Z0-9]{2}flight_numberThe numeric portion of the flight number.
[0-9]{1,4}origin_airportIATA airport code of origin
[A-Z]{3}destination_airportIATA airport code of destination
[A-Z]{3}scheduled_departure_date_timeThe original scheduled local date and time of departure in ISO Local Date Time format
scheduled_arrival_date_timeThe original scheduled local date and time of arrival in ISO Local Date Time format
status_updateThe status update that occurred for the flight.
Show fields
The status update that occurred for the flight.
type:canceled (canceled1) canceled1
typevalue: canceled
delayed (delayed1) delayed1
typevalue: delayed
estimated_departure_date_timeThe newly estimated local date and time of departure in ISO Local Date Time format. Optional, but at least one of the estimated departure or arrival times must be provided.
estimated_arrival_date_timeThe newly estimated local date and time of arrival in ISO Local Date Time format. Optional, but at least one of the estimated departure or arrival times must be provided.
occurred_atThe date and time at which the status change occurred, as a UTC RFC3339 formatted datetime.
Responses
202The flight status update has been accepted for processing.
400Syntactic errors were encountered while handling the request
messagecodeExample
[
{
"message": "string",
"code": "string"
}
]401The client could not be authenticated
403The authenticated client does not have permission to call this endpoint
422Semantic errors were encountered while handling the request
code:estimated_times_unchanged (estimated_times_unchanged) estimated_times_unchanged
messageA human-readable message describing the error
codeinconsistent_estimated_times (inconsistent_estimated_times) inconsistent_estimated_times
messageA human-readable message describing the error
codemissing_estimated_time (missing_estimated_time) missing_estimated_time
messageA human-readable message describing the error
codeExample
[
{
"message": "string",
"code": "string"
}
]499The client cancelled the request
500The server encountered an internal error
curl -X POST "https://fintech.staging.htsapis.com/flights-dafar/v2/flight_status_updates" \
-H "X-Api-Key: $HTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"flight": {
"marketing_airline_code": "AA",
"flight_number": 123,
"origin_airport": "JFK",
"destination_airport": "LAX",
"scheduled_departure_date_time": "2026-02-15T08:00",
"scheduled_arrival_date_time": "2026-02-15T11:30"
},
"status_update": {
"type": "string"
},
"occurred_at": "2026-02-15T13:12:48Z"
}'Examples are generated from the schema where the spec publishes none; field values are illustrative.
