https://api.capout.ai
Auth model
- REST endpoints use the
capout-api-keyheader. - Realtime streams use a short-lived
tokenminted fromPOST /ws/token. GET /{document_id}.esxusescapout-api-keyand only authorizes documents in that key’s organization.
Endpoint map
Upload
POST /upload: submit one PDF to generate Contractor and Carrier ESX files
xn_address and profile_code compatibility fields.
Status
GET /status/{document_id}: poll one document’s workflow stateGET /documents: list documents submitted by the authenticated organization
ESX downloads
GET /{document_id}.esx: download Contractor (8D) by defaultGET /{document_id}.esx?profile=contractor: explicitly download Contractor (8D)GET /{document_id}.esx?profile=carrier: download Carrier (5L)
404 for unknown or cross-organization
documents and 409 until the export is ready. When ready, it returns a
non-cached 307 to a freshly signed private S3 URL. Store the clean CapOut URL,
not the redirected URL, and send capout-api-key with every request.
Claims
GET /claims: inspect the current organization claim balance
Realtime
POST /ws/token: mint a short-lived realtime tokenGET /sse/status: subscribe over SSEwss://api.capout.ai/ws/status: subscribe over WebSocket after minting a token