SimplyParseDocs
Parsing

Parse a document

POST
/dapi/v1/parser/{slug}/parse

Processes a document and returns the parsed entries in the same response. The request stays open until processing finishes, so longer documents take longer to respond.

Use this for single documents and interactive flows. For large or multi-page documents, batches, or clients with a short timeout, use Parse a document (async).

Webhooks are not sent for documents processed through this endpoint; the response is the result.

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.

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Send either file or file_url.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/dapi/v1/parser/a1b2c3/parse"

{  "status": "success",  "code": "document_processed",  "message": "Document processed successfully",  "data": [    {      "document_id": "8f14e45f-ceea-467f-a8e6-3c1d2f0b9a51",      "status": "completed",      "is_valid": true,      "parsed_data": {        "invoice_number": "INV-20418",        "invoice_date": "2026-03-12",        "vendor_name": "Northwind Supplies",        "total_amount": 48250,        "line_items": [          {            "description": "Steel brackets",            "quantity": 50,            "amount": 48250          }        ]      },      "validation_errors": []    }  ]}