Authenticated
POST /api/proofDocument
Accepts a PDF, computes a checksum, stores a signed record, and returns a proofed copy for download.
curl -X POST "https://api.checksum.id/api/proofDocument" -H "Authorization: Bearer $TOKEN" -H "X-Verify-Base-Url: https://app.checksum.id/verify" -F "file=@contract.pdf" -F "position=top-right" -F "format=qr"
Request
multipart/form-data
- file — required PDF to proof
- position — optional: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right
- format — optional: qr or uuid
- X-Verify-Base-Url — optional absolute URL used inside the stamped verification payload
Success
200 OK
- Returns the proofed PDF file as a download.
- The file is stamped with a verification marker and includes response headers for auditing.
Error states
400, 403, 422
- 400 — file missing or unreadable
- 403 — usage quota reached or access blocked
- 422 — uploaded file is not a valid PDF
Response headers
- Content-Disposition: attachment; filename=contract-proofed.pdf
- X-Document-Id: <uuid>
- X-Document-Checksum: <sha256>
- X-Document-Checksum-Algorithm: SHA-256
- X-Document-Signed-By: user@example.com
- X-Document-Signed-On: 2026-03-14T12:34:56Z