Skip to main content
POST
Upload Csv

Authorizations

capout-api-key
string
header
required

Organization-scoped CapOut API key

Headers

Idempotency-Key
string | null

Optional. Retrying with the same key and an identical payload returns the existing document_id. Reusing the key with a different payload, including different O&P rates or policy, returns 409.

Body

multipart/form-data
file
file
required

UTF-8 CSV estimate file. One line item per row.

estimate_metadata
string | null

Optional JSON object string with estimate-level fields, e.g. {"claim_number": "SAMPLE-2026-050", "overhead_rate_percent": 10, "profit_rate_percent": 10}. Accepts the same estimate fields as StructuredEstimateV1, except line_items and the sketch fields.

Example:

"{\"claim_number\": \"SAMPLE-2026-050\", \"overhead_rate_percent\": 10, \"profit_rate_percent\": 10, \"overhead_profit_basis\": \"after_tax\"}"

Response

Successful Response

Response body for POST /upload.

document_id
string
required

Public document ID for status polling, realtime subscriptions, and ESX downloads.

created_at
string<date-time>
required
status_url
string
required
download_url
string
required

Stable authenticated ESX download URL. It redirects to the Contractor profile by default once export is complete.

contractor_download_url
string
required

Stable authenticated URL for the Contractor (8D) ESX file

carrier_download_url
string
required

Stable authenticated URL for the Carrier (5L) ESX file

status
string
default:processing
ws_url
string
default:/ws/status
source_type
string
default:PDF
sketch
SketchNotice · object | null

What happens to the sketch fields in a JSON upload, and how the upload is billed. Plain JSON uploads don't get a notice.