SimplyParseDocs
Parsed data

Correct parsed values

PUT
/dapi/v1/parser/{slug}/parsed-data/{parsed_data_id}

Overwrites one or more top-level values on a parsed entry, for example after a person has reviewed it. Keys are field names from your parser. Object and list values (such as line_items) are skipped, and keys that are not fields of the parser are ignored.

Edited values are marked as edited in the dashboard. Validation is not re-run, so is_valid and validation_errors keep the values from processing.

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.

parsed_data_id*string

The entry ID: entries[].id from Get a document, data.entry_id from a webhook, or data[].document_id from the sync parse response.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/dapi/v1/parser/a1b2c3/parsed-data/8f14e45f-ceea-467f-a8e6-3c1d2f0b9a51" \  -H "Content-Type: application/json" \  -d '{    "update_fields": {      "invoice_number": "INV-20418-A",      "total_amount": 48520    }  }'

{  "status": "success",  "code": "entry_updated",  "message": "Parsed data entry updated successfully",  "data": {    "id": "8f14e45f-ceea-467f-a8e6-3c1d2f0b9a51",    "status": "completed",    "is_valid": true,    "parsed_data": {      "invoice_number": "INV-20418-A",      "vendor_name": "Northwind Supplies",      "total_amount": 48520    },    "validation_errors": []  }}