ZapSign API
English
English
  • General Information
  • Getting Started
  • ZapSign Environments
  • Ready-to-use requests!
  • Authentication
    • Static token
    • JWT Authentication
      • Get access token
      • Refresh your access token
  • Types of Tokens
  • API versioning
  • Rate Limit Policies
  • Incident alerts
  • How Payment Works
  • Status Code
  • Account
    • Plan Information
    • List account users
    • Create account users
    • Delete account user
  • Documents
    • Create document via Upload
    • OneClick (ClickWrap)
      • Create document (OneClick)
    • Create document via Template
    • Add attachment (extra document)
    • Add attachment (extra document) via Template
    • Detail document
    • List documents
    • Delete document
    • Document Audit Trail
    • Optional: Place signatures
    • Reject Documents
  • Signers
    • Detail signer
    • Update signer
    • Add signer
    • Delete signer
    • Batch sign via API
    • Reject Documents by User
  • Templates
    • Create template (DOCX)
      • Configure Template Form
    • List templates
    • Get template
    • Update template
    • Delete template
  • Partnerships
    • Update Payment Status
    • Create Account
  • TIMESTAMP
    • Add timestamp
  • Background Check
  • Introduction
  • Understanding the Result
  • Creating a Background Check
    • Person Check
    • Company check
  • Retrieve a Check
  • Check details
  • Webhooks
    • How webhooks works
    • Testing webhooks on ZapSign
    • Create Webhook
    • Webhooks logs
    • Events
      • Document
        • Doc created
        • Doc deleted
        • Created signer
      • Signer
        • Signature request send
        • Document viewed
        • Reading confirmation
        • Doc signed
        • Doc refused
        • Email bounce
        • Failed Validation
      • Background check
        • Background check completed
    • Reprocessing Documents and Webhooks
    • Delete Webhook
  • Widget
    • How widget works
Powered by GitBook
On this page

Was this helpful?

  1. Webhooks

Reprocessing Documents and Webhooks

PreviousBackground check completedNextDelete Webhook

Last updated 3 months ago

Was this helpful?

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.

In this section:


Reprocessing webhooks via Web

To reprocess signed documents via the web interface, navigate to the documents tab, find your document, click the gear icon, and select "Reprocess Webhooks."


Reprocessing Documents and Webhooks via API

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.

POSThttps://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

{
    "send_webhook": true,
    "resign_doc": false
}

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

Response

Document successfully reprocessed.

Check if the document token is correct in the URL.

Since the process is asynchronous, monitor the webhooks or manually check the document status after a few minutes.

Reprocessing webhooks via the web interface
Reprocessing webhooks and documents via API
Interface with options for managing a signed document, including adding signers, editing fields, and reprocessing the webhook.
Screenshot of a document management interface showing a signed document titled "Test document." The options menu is open, displaying actions such as "Date limit," "Add signer," "Edit fields," and "Reprocess webhook