Permanently redact regions of a draft PDF
Removes content-stream operators inside each region — text runs, images, fully-contained vector paths, and annotations are deleted from the emitted bytes (not just painted over). Signature fields intersecting a region are removed. Document metadata is purged. Response includes a redaction receipt (scrubbed_text) listing the literal strings that were removed. Percent rects share the same 0–100 space as signature fields. Deterministic in-worker engine — not Seal AI.
POST
/documents/pdf/redactAuthorization
AuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
Request body
requiredapplication/jsonidstringrequiredregionsobject[]requiredmin items 1 · max items 200
Show propertiesHide properties
Array of
objectpageintegerrequiredmin 1
xnumberrequiredmin 0 · max 100
ynumberrequiredmin 0 · max 100
widthnumberrequiredmin 0.5 · max 100
heightnumberrequiredmin 0.5 · max 100
Responses
200
Redacted
successbooleanstorage_idstringregions_appliedintegerops_scrubbedintegerannots_scrubbedintegerfields_removedintegerscrubbed_textstringStrings removed from the bytes (receipt)
warningsstring[]