webhooks.docusign() verifies the HMAC-SHA256 signature DocuSign sends in x-docusign-signature-1 on every request.
/trigger/docusign.ts
event.event.
Set up DocuSign
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - In DocuSign eSignature Admin, open Connect > Connect Keys and choose Add Secret Key. Copy the key: DocuSign shows it in full only once. Choose Set signing secret on the Trigger.dev endpoint and paste it.
- Add a Connect configuration with the webhook URL, select the events your subscribers need, and tick Include HMAC Signature. Without it, DocuSign doesn’t sign deliveries and every one is rejected.
- Send a test event from DocuSign, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

