Events and verification
Development contract for HMAC, queued delivery and receiver verification before pilot.
The reference describes implemented code. Signing workflow, billing and customer webhooks remain unfinished. This documentation does not activate access.
Webhook backend implemented locally
E5A–E5C are implemented locally: transactional events, destinations, encrypted secret rotation, a separate delivery queue, HMAC, test deliveries and redelivery. OpenAPI 1.0.0-dev.8 documents EnterpriseEvent, EnterpriseWebhookTestEvent and outbound headers. Full portal UI and external pilot verification remain. webhooks stays false and customer outbound traffic is disabled by default.
Persisted events
signing.created, sent, viewed, partially_signed, completed, declined, expired, cancelled and documents_ready are persisted locally. sent requires an accepted invitation and confirmed consumption; queueing is insufficient. viewed is the first verified recipient request to the signing room. Reviewer approval is not a partial signature. completed and documents_ready are separate events. Existing cases receive no fabricated historical view or creation events.
Prepare your receiver
Verify Signerad-Webhook-Id, Signerad-Webhook-Timestamp and Signerad-Webhook-Signature before parsing JSON. The signature is v1=<key UUID>.<hex HMAC-SHA256>, with at most two comma-separated entries during rotation. Use the full whsec_ secret as the UTF-8 HMAC key over timestamp + dot + event ID + dot + exact raw UTF-8 bytes. Enforce a 300-second window in both directions and constant-time comparison. The Node enterprise-webhook-verifier helper verifies format, time and MAC; persist a unique event ID with the business change before acknowledging 2xx. It does not replace body limits or deduplication. Never treat webhook.test as a signature.
Delivery and troubleshooting
Delivery is at least once. 408, 425, 429, 5xx and transient network/configuration failures retry with exponential backoff and jitter, at most 16 attempts within 24 hours. Redirects are not followed. Manual redelivery preserves event ID and body with a new timestamp/signature. Events can arrive out of order; use per-case sequence and API reconciliation when needed. Logs last 30 days without secrets or response text. signing.completed and signing.documents_ready are distinct. CRM business approval must remain separate from signing status.
Was this article helpful?
Quick feedback for this page view.Updated 2026-10-24 · 1.0.0-dev.8