curl --request POST \
--url https://api.flightlinehq.com/v1/reviews/{review_id}/documentsimport requests
url = "https://api.flightlinehq.com/v1/reviews/{review_id}/documents"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.flightlinehq.com/v1/reviews/{review_id}/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flightlinehq.com/v1/reviews/{review_id}/documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.flightlinehq.com/v1/reviews/{review_id}/documents"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flightlinehq.com/v1/reviews/{review_id}/documents")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flightlinehq.com/v1/reviews/{review_id}/documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"dispositions": [
{
"decision": "cleared",
"detail": "recorded self_clear (attempt 1)",
"finding": "CLO-001",
"outcome": "applied"
},
{
"decision": "disputed",
"detail": "recorded justification (attempt 1)",
"finding": "CMP-010",
"outcome": "applied"
},
{
"decision": "cure_attached",
"detail": "cure_attached needs the curing document linked to this finding",
"finding": "AST-014",
"outcome": "skipped"
}
],
"dispositions_applied": 2,
"dispositions_failed": 0,
"dispositions_skipped": 1,
"documents_ingested": 1,
"review_id": "9b2c1f3a-4d5e-6789-abcd-ef0123456789",
"status": "processing"
}{
"error": {
"code": "document_required",
"message": "At least one document is required."
}
}{
"error": {
"code": "missing_api_key",
"message": "Missing API key. Send 'Authorization: Bearer <key>'."
}
}{
"error": {
"code": "review_not_found",
"message": "Review not found."
}
}{
"error": {
"code": "working_doc_flattened",
"message": "This is a Flightline working doc, but its fillable fields are gone (flattened, printed, or scanned). Re-upload the original un-flattened PDF."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Retry with exponential backoff."
}
}Add Review Documents
Add documents to an existing review — in one call.
Use this to RESPOND to a review’s findings. Upload the filled Flightline
working doc and its marked decisions are applied automatically (cleared,
disputed, …); upload supporting evidence and it is attached and the review is
re-assessed. The body is JUST documents (multipart/form-data or JSON
signed source URLs) — exactly like creating a review. The working doc itself
carries the dispositions; there is nothing else to send.
curl --request POST \
--url https://api.flightlinehq.com/v1/reviews/{review_id}/documentsimport requests
url = "https://api.flightlinehq.com/v1/reviews/{review_id}/documents"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.flightlinehq.com/v1/reviews/{review_id}/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flightlinehq.com/v1/reviews/{review_id}/documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.flightlinehq.com/v1/reviews/{review_id}/documents"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flightlinehq.com/v1/reviews/{review_id}/documents")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flightlinehq.com/v1/reviews/{review_id}/documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"dispositions": [
{
"decision": "cleared",
"detail": "recorded self_clear (attempt 1)",
"finding": "CLO-001",
"outcome": "applied"
},
{
"decision": "disputed",
"detail": "recorded justification (attempt 1)",
"finding": "CMP-010",
"outcome": "applied"
},
{
"decision": "cure_attached",
"detail": "cure_attached needs the curing document linked to this finding",
"finding": "AST-014",
"outcome": "skipped"
}
],
"dispositions_applied": 2,
"dispositions_failed": 0,
"dispositions_skipped": 1,
"documents_ingested": 1,
"review_id": "9b2c1f3a-4d5e-6789-abcd-ef0123456789",
"status": "processing"
}{
"error": {
"code": "document_required",
"message": "At least one document is required."
}
}{
"error": {
"code": "missing_api_key",
"message": "Missing API key. Send 'Authorization: Bearer <key>'."
}
}{
"error": {
"code": "review_not_found",
"message": "Review not found."
}
}{
"error": {
"code": "working_doc_flattened",
"message": "This is a Flightline working doc, but its fillable fields are gone (flattened, printed, or scanned). Re-upload the original un-flattened PDF."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Retry with exponential backoff."
}
}Path Parameters
Response
Successful Response
The POST /reviews/{id}/documents response.
Reports how the uploaded documents were handled: how many were ingested as new evidence (and trigger a re-assessment), and — if a Flightline working doc was among them — the per-finding outcome of applying its marked dispositions.
Customer-facing review lifecycle.
A deliberately coarse projection of the internal CaseStatus. Internal
states that are not meaningful to a customer (e.g. the admin-release gate
pending_review, the publication-blocker state) collapse to
processing so we never surface internal workflow detail or
verdict-adjacent signal before the publication gate passes.
queued, awaiting_documents, processing, completed, failed Show child attributes
Show child attributes
New evidence documents added (excludes the working doc itself).

