Skip to main content
CapOut gives you a straightforward API for sending in PDF scopes, following each document through processing, and subscribing to status changes as work completes.

Base endpoints

  • REST: https://api.capout.ai
  • WebSocket status stream: wss://api.capout.ai/ws/status
  • SSE status stream: https://api.capout.ai/sse/status

Core workflow

  1. Send capout-api-key on REST requests.
  2. Upload a PDF with POST /upload.
  3. Poll GET /status/{document_id} or subscribe to realtime updates.
  4. Read credit balances with GET /credits.

Start here

What the API covers

Uploads

Submit a PDF either by passing a public url or by sending file_base64. Every accepted upload returns a document_id you can track immediately.

Status tracking

Use GET /status/{document_id} when polling a single job, or GET /documents when you need the authenticated organization’s recent uploads.

Realtime delivery

Call POST /ws/token to mint a short-lived token, then connect over WebSocket or SSE using that token as a query parameter.

Credits

Use GET /credits to see the current organization balance plus any buckets that expire soon.