Send extraction feedback
Operators will disagree with an amount, a documentType, or a missing UID. Product-wise this is the quality loop: your UI is the source of truth for the correction. Architecturally you POST the whole corrected document (same shape as GET data[]), not a JSON Patch.
HTTP status is always 200; each item has SUCCESS or ERROR. A FEEDBACK_RECEIVED webhook follows.
/v1/workspaces/{workspaceId}/feedbackThe per-document PATCH is deprecated. New integrations use this batch POST (1–100 items).
resource is the complete corrected data area — the same shape you received on GET,
not a partial patch.
Authentication
AuthorizationstringheaderrequiredBearer token with scope docmind.capture (today idp.capture).
Path
workspaceIdstringpathrequiredWorkspace ULID.
Body
dataFeedbackItem[]bodyrequiredOne to 100 items. resourceId must be unique in the batch.
data[].resourceIdstringbodyrequiredThe documentId from upload / GET.
data[].resourceobjectbodyrequiredCorrected document, including documentType (for example RECEIPT).