1. Authenticate REST calls
Include your API key as thecapout-api-key header.
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.
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.