Reprocessing Documents and Webhooks
Last updated
Last updated
In scenarios where integration failures, validation errors, or the need for updates to the receiving system occur, reprocessing webhooks can be crucial to ensure correct data delivery and maintain consistency between integrated systems.
To reprocess signed documents via the web interface, navigate to the documents tab, find your document, click the gear icon, and select "Reprocess Webhooks."
In cases where the signed document needs to be regenerated—such as when there are integrity issues with the file or a failure in webhook delivery—you can use the reprocessing endpoint. This is useful, for instance, when the final document was corrupted or the associated webhook was not properly sent.
POST
https://api.zapsign.com.br/api/v1/docs/{{doc_principal_token}}/reprocess-doc/
Headers
Name
Type
Description
Authorization*
string
Api token a frente do texto "Bearer".Ex: Bearer c7f35c84-7893-4087-b4fb-d1f06c23
Request Body
Name
Type
Description
send_webhook
boolean
To activate the resending of the webhook of the selected document. Default: false
resign_doc
boolean
To reprocess the signed document by creating a new pdf of the selected document. Default: false
Document successfully reprocessed.
Since the process is asynchronous, monitor the webhooks or manually check the document status after a few minutes.