Documents
Get a document
Returns a document's processing status and its parsed entries. Poll this after
Parse a document (async) until data.status
is completed or failed.
While the document is still pending or processing, code is no_parsed_data
and entries is empty.
Authorization
tokenAuth Authorization<token>
Your API token prefixed with Token , for example Token YOUR_API_TOKEN.
In: header
Path Parameters
slug*string
Your parser's slug. Copy it from the endpoint URL in the parser's Integrations tab. It must be your own parser, not a library template.
document_id*string
The document_id returned by the async parse endpoint.
Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/dapi/v1/parser/a1b2c3/document/3c59dc04-8a4e-4d6b-9f3e-7a1f0e2b5c66"{ "status": "success", "code": "document_retrieved", "message": "Document retrieved successfully", "data": { "document_id": "3c59dc04-8a4e-4d6b-9f3e-7a1f0e2b5c66", "status": "completed", "url": "https://files.simplyparse.com/api/invoice-20418.pdf", "metadata": { "filename": "invoice-20418.pdf", "content_type": "application/pdf", "size_bytes": 184220, "page_count": 2 }, "entries": [ { "id": "8f14e45f-ceea-467f-a8e6-3c1d2f0b9a51", "status": "completed", "cost": 2, "cost_currency": "INR", "processing_time_seconds": 7.42, "created_at": "2026-03-12T09:41:07.120Z", "updated_at": "2026-03-12T09:41:14.540Z", "is_deduplicated": false, "is_valid": true, "parsed_data": { "invoice_number": "INV-20418", "vendor_name": "Northwind Supplies", "total_amount": 48250 }, "validation_errors": [] } ] }}