docusign-webhooks
Installation
SKILL.md
DocuSign Webhooks
When to Use This Skill
- Setting up DocuSign Connect webhook handlers
- Debugging DocuSign HMAC signature verification failures
- Understanding DocuSign envelope and recipient event types and payloads
- Handling
envelope-completed,recipient-completed, or other Connect events - Verifying the
X-DocuSign-Signature-1header
Verification (core)
DocuSign Connect signs the raw request body with HMAC-SHA256 keyed on your Connect HMAC secret and sends the digest as base64 in X-DocuSign-Signature-1. When multiple HMAC keys are active it sends one header per key (X-DocuSign-Signature-1, X-DocuSign-Signature-2, … up to 100); only one needs to match. The x-authorization-digest header names the algorithm (HMACSHA256). This is not the Standard Webhooks spec. The event type lives in the JSON body's event field (e.g. envelope-completed), not in a header.
Node:
const crypto = require('crypto');