Developers

Everything on screen is in the API

Submit documents, follow each run as it happens, decide reviews from your own tools, and receive a webhook for every outcome.

Submit a document

Send a document and Exaights routes it to the right workflow. You get a run id back straight away; the result follows as events and webhooks.

  • Intake to a named agent, or routed to the right one for you.
  • Live events per run, as a server-sent event stream.
  • Reviews listed and decided through the tasks API.
  • Errors as RFC 7807 problem details, each with a stable code.
curl -X POST "$HUB/api/v1/intake" \
  -H "X-API-KEY: $EXAIGHTS_API_KEY" \
  -F "files=@invoice-1042.pdf" \
  -F "reference=PO-12345"

{
  "agent": "invoice",
  "runs": [ { "runId": "6f1c..." } ],
  "routing": {
    "agent": "invoice",
    "confidence": 0.95
  }
}

# later, as a webhook: run.needs_review
{
  "runId": "6f1c...",
  "state": "needs_review",
  "reason": "Over the auto-approve ceiling"
}

Webhooks

A delivery for every run event (needs review, succeeded, rejected, failed), with the reason, and redelivery on request.

Sandbox

A sandbox organization with made-up documents and a recording ERP, for building integrations safely.

Billing and audit

Read your usage, statements, invoices and audit log through the same API.

Building an integration?

Create an account and make an API key on the API keys screen, or ask us for a sandbox organization.