The Documents API is the core of RecordEngine’s integration layer. Use it to upload documents from external systems, retrieve structured extraction results, and update document statuses — all without touching the UI.All requests require a Bearer token in the Authorization header. See Authentication.
Uploads a file to RecordEngine and queues it for AI processing. The document appears in the UI immediately with New status, then transitions to Processing and Needs Review automatically.
# Get all documents awaiting review for contact 5curl "https://YOUR-INSTANCE/api/documents?contact_id=5&status=Needs%20Review" \ -H "Authorization: Bearer YOUR_TOKEN"
Changes the status of a document. Use this to move documents through the workflow programmatically — for example, automatically approving high-confidence documents from an external script.
Setting a document to Export status via the API triggers the outbound Document Webhook — the same as clicking Webhook Export in the UI. Make sure your webhook receiver is ready before doing this at scale.