Signature Validation
POST
https://api.zapsign.com.br/api/v1/validate-pdf-signature/
Description: This endpoint validates digital signatures in PDF files sent via request. The verification returns whether the document is valid or invalid.
The criteria for a document to be considered valid are:
The document has one or more digital signatures.
All signatures contained in the file were made by ZapSign.
All signatures in the file are cryptographically valid.
The document has not been altered after being signed.
There are no signatures rejected by the signer.
There are no pending signatures.
In case of an invalid document, the endpoint returns a message with the reason why it was invalidated.
How to Use:
Send a POST request in multipart/form-data
format containing the PDF file in the file
field.
Headers
Content-Type
multipart/form-data
Request Body (form-data)
file
file (PDF)
PDF file to be validated
Response Body (JSON)
isValid
Boolean
true
if the file is signed and valid, and false
if invalid
message
Text
Message regarding the validation result
authority
Text
Common Name of the Certifying Authority
signingDate
Text
Signing date formatted dd/mm/YYYY hh:mm:ss
commonName
Text
Common Name of the signature (ZapSign)
Response Examples:
Valid Document:
200: OK
Invalid Document:
200: OK
Last updated
Was this helpful?