This webhook is triggered when the state of a document changes in PandaDoc. The webhook delivers comprehensive document information whenever a document transitions between different states in its lifecycle. Common document state transitions include: - document.draft: Document creation and processing is complete - document.sent: Document has been sent to recipients - document.viewed: Document has been opened by a recipient - document.waiting_approval: Document is pending approval workflow - document.approved: Document has been approved - document.rejected: Document has been rejected - document.waiting_pay: Document is pending payment - document.paid: Document payment has been completed - document.completed: Document has been fully signed/completed - document.cancelled: Document has been cancelled - document.declined: Document has been declined by a recipient This event is useful for: - Monitoring document lifecycle and status changes - Triggering business processes based on document state - Synchronizing document status with external systems - Implementing approval workflows and notifications - Tracking document completion metrics and analytics Note: The webhook payload structure in partially mirrors the Document Details API response, providing comprehensive document information captured at the time of state change. Security Note: All webhook requests include an HMAC-SHA256 signature for verification using your shared key.
wbhk Document State Changed