API reference
POSTRequires Bearer token
Verify a signed PDF
/api/verification/verify
PAdES / CAdES verification (certificate chain, optional TSA, optional OCSP/CRL).
Multipart: send file plus optional options (JSON string) and password. JSON: send document_url (or url) and options. URL mode requires a Bearer token (anonymous URL fetch is rejected — SSRF). Document URLs must be public HTTPS; private IPs are blocked.
Verdicts: VALID, INVALID, INDETERMINATE. Missing trust data is never upgraded to VALID. Default upload limit is 25 MB.
options.revocation_mode is soft-fail (default) or hard-fail. decrypt_dkbsign_data (default true) tries to read the DKBSign metadata blob.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
Send as multipart/form-data.
| Field | Type | Description |
|---|---|---|
file | string | PDF to verify (multipart). |
password | string | Password for an encrypted PDF. Never stored. |
document_url | string | Public HTTPS URL of the PDF (JSON). e.g. "https://files.acme.test/signed.pdf" |
url | string | Alias of document_url. |
options | object | Verification flags. |
Responses
| Status | Meaning |
|---|---|
| 200 | Verification report |
| 400 | See the example response. |
| 401 | Missing or invalid Bearer token. |