Bulk Approval and Choosing Values
Approve many pending results at once, compare what each source said for an approval decision, and record the value to keep for a field.
Results held by an approval gate wait for a decision. Approve many of them in one call, or, where sources disagree, compare them field by field and record the value to keep. Decisions are attributed to the person behind your credential.
Writes need the reviews:write scope and the workspace edit permission; the comparison read needs read or reviews:read. Send an Idempotency-Key header (up to 64 characters) on this write. A retry with the same key and body returns the first response with Idempotent-Replayed: true and changes nothing; the same key with a different body is refused with 422 idempotency_key_reused.
/v1/structuring/approvals/bulk-approve/v1/structuring/approval-decisions/:id/diffs/v1/structuring/approval-decisions/:id/canonicalBody
source_pick or free_text.source_label, value, source_text, document_id).Bulk approve
curl -X POST https://api.talonic.com/v1/structuring/approvals/bulk-approve \
-H "Authorization: Bearer tlnc_..." -H "Content-Type: application/json" \
-H "Idempotency-Key: approve-batch-42" \
-d '{"result_ids": ["RES_1", "RES_2"]}'Errors
Error responses
reason says which.