1. Authenticate REST calls
Include your API key as thecapout-api-key header.
capout_test_…) runs the whole flow for free and tells you whether a file converts, but it returns a pass or fail result only: it never issues ESX files. Use a live key (capout_live_…) for step 4 and for real work; each live conversion uses one claim.
2. Upload a document
The upload API supports both a fetchableurl and an inline file_base64 payload.
file_base64 value.
Store the returned document_id and use it to track workflow completion.
This is the only public tracking ID; use it in /status/{document_id} and
/{document_id}.esx, or follow the returned status_url and download URLs:
Expected shape:
409. With a test key, all three are null.
3. Poll the document status
4. Download an ESX file
The default link downloads the Contractor (8D) file. Use the Carrier link when you need the 5L profile:
capout-api-key as upload. The document
must belong to that key’s organization; never put the key in the URL or query string.
A document uploaded with a test key can’t be downloaded: the route answers 403
with ESX_DOWNLOAD_TEST_KEY.