Docusign Connect: Webhooks for Envelope Events

Your systems need to know the moment an agreement is signed, declined or voided, without anyone checking. How the webhook service works, which events to subscribe to, and how to handle failed deliveries.

Docusign Connect is Docusign’s webhook service: it sends an HTTPS POST notification to a listener you host whenever a selected eSignature event occurs, such as an envelope being sent, completed, declined or voided. Your CLM, CRM or repository learns about each change as it happens, without anyone checking Docusign by hand. For related detail, see our guides to the Docusign API and Docusign CLM integration. See what is Docusign for the basics.

This guide covers what Connect is, how to set up a configuration, which events to subscribe to, how to secure the listener, how retries and failures work, and when it beats polling the API.

What is Docusign Connect?

Docusign Connect is a webhook service that sends HTTPS POST notifications to your listener when the eSignature trigger events you select occur. To use it, you set up a webhook listener available on the public internet, and Connect sends its event messages to that listener’s URL.

Connect works at three levels:

  • Account level. A listener receives notifications for all envelopes associated with the account, or with specified account users.
  • Envelope level. A listener receives notifications for specific envelopes, which suits an application that only cares about the envelopes it sent.
  • Recipient level. Configurations can also track events for individual recipients, such as a signer completing or declining.

Messages arrive in one of four formats: JSON Send Individual Messages (SIM), JSON aggregate, XML SIM or XML aggregate. Docusign recommends the JSON SIM event model for all apps.

In our implementations, Connect is what turns signing into a step in the contract workflow. A Fully Signed status callback moves the contract record to In Reconciliation without anyone re-keying it, and the executed PDF with its certificate must arrive before the record moves to Activated.

How do you set up a Docusign Connect configuration?

You set up a Docusign Connect configuration by building a listener on the public internet, choosing account-level or envelope-level delivery, selecting the trigger events you need and choosing a message format. Build and test it in your developer account first, then recreate the configuration in production at go-live.

Work through five decisions:

  • Listener URL. Host an HTTPS endpoint reachable from the public internet, owned by a named team.
  • Scope. Use account level for everything an account sends, or envelope level for the envelopes one application sends.
  • Events. Select only the envelope and recipient events your downstream systems act on.
  • Format. Use JSON SIM, the model Docusign recommends for all apps.
  • Environment. Configure it in the sandbox first. Connect profiles are among the items you add to production through Docusign Admin or the eSignature REST API when you go live, as our guide to the Docusign developer account explains.

Before building, check whether a prebuilt connector already does the job. Our overview of Docusign integrations covers the options.

Use this checklist when you design the listener:

ControlWhat to configureWhy it matters
Event scopeOnly the envelope and recipient events you needLess data to transfer and process
Endpoint securityHTTPS, source validation and restricted accessProtects agreement data in transit
IdempotencyProcessing that is safe to repeatPrevents duplicate actions after retries
Fast acknowledgmentA 200 response returned promptlyStops successful deliveries being treated as failures
Retry handlingA queue that processes events after failed deliveriesKeeps downstream updates reliable
Error monitoringTracking of failed events, retry counts and error messagesMakes recovery possible
RetentionRules for event payloads and logsSupports lawful retention and deletion

Which envelope events should you subscribe to?

You should subscribe to the envelope events your downstream systems act on, which for most contract workflows means envelope-sent, envelope-completed, envelope-declined and envelope-voided, plus recipient events where you track individual signers. Connect supports envelope events from envelope-created through envelope-reminder-sent, and recipient events such as recipient-completed and recipient-declined.

The events that matter most, and what they mean:

  • envelope-sent. The envelope has gone out for signature, which is when a contract record can move to an awaiting-signature status.
  • envelope-delivered. All recipients have opened the envelope through the Docusign signing website. It does not mean the email was delivered.
  • envelope-completed. All recipients have completed their assigned actions, which is the trigger to fetch the signed document and its Docusign certificate of completion.
  • envelope-declined and envelope-voided. The envelope will not complete, so the contract needs attention.
  • Recipient events. recipient-completed, recipient-declined, recipient-authenticationfailed, recipient-reassign and recipient-delegate show each signer’s progress and problems.

Connect also supports envelope-resent, envelope-corrected, envelope-purge, envelope-deleted and envelope-discard, and recipient-sent, recipient-delivered, recipient-autoresponded and recipient-finish-later.

In our implementations, a declined signature notifies the contract administrator, is logged in the audit trail and moves the contract back to authoring for legal review.

How do you secure Docusign webhooks?

You secure Docusign webhooks by running the listener over HTTPS, validating every incoming message before acting on it, restricting who can access the endpoint and its logs, and keeping only the data you need. Connect delivers its notifications as HTTPS POST messages, so the listener’s job is to accept them safely.

Apply four controls:

Our guide to Docusign admin covers the account settings and roles behind who can manage Connect.

How do retries and failures work in Connect?

Retries in Connect use exponential back-off: if delivery fails, Docusign retries after five minutes, 10 minutes, 20 minutes, 40 minutes, one hour, two hours and one day, then once a day for 15 days. Connect waits for a valid 200 response from your application, and if it does not receive one within 100 seconds, it treats the message as failed and places it in a failure queue.

Docusign’s configuration reference adds a second rule: if your listener’s response is outside the 200 to 299 range, the configuration is marked down, the message is queued, and Docusign retries once a day, up to ten times. Design for both by keeping the listener fast and healthy:

  • Acknowledge first, process second. Return a 200 response as soon as the message is safely received, then do the work from a queue.
  • Make processing repeatable. Retried messages can arrive more than once, so an event that has already updated a record should not update it again.
  • Watch the dashboard. The Connect Dashboard shows a timeline of successful and failed notifications, event logs, configuration IDs, event types, latest attempts, retry counts and error messages.
  • Reconcile after outages. After your listener has been down, compare envelope statuses with your records to catch anything still in the retry cycle.

When should you use Connect instead of polling the API?

Use Connect when your systems need to react to envelope changes as they happen, such as updating a contract record on completion or alerting legal on a decline, because Connect pushes each selected event to your listener the moment it occurs. Polling, where your application repeatedly asks the API for status, suits only occasional checks where a delay does not matter.

Connect fits best in four situations:

  • Status-driven workflows. A completed envelope moves a contract or deal to its next stage.
  • Many envelopes. An account-level listener covers every envelope an account sends, with no loop of status calls.
  • Exception handling. Declines, voids and authentication failures reach the right person at once.
  • Evidence capture. A completion event triggers retrieval of the signed PDF and its certificate for the repository.

In our implementations, sales representatives retyping executed contract values into CRM records produced copies that drifted apart, and syncing status and deal values on signature removed the problem. Our Docusign HubSpot integration guide shows the same pattern for one CRM.

Conclusion

Docusign Connect pushes envelope and recipient events to your listener as they happen, which is what keeps your CLM, CRM and repository in step with every signature. Host an HTTPS listener on the public internet, use JSON SIM messages, subscribe only to the events you act on, acknowledge fast and process from a queue, and watch the Connect Dashboard for failures. Built that way, a completed, declined or voided envelope updates the right record without anyone checking by hand.

How Basla Solutions can help

Basla Solutions provides delivery teams for Docusign implementation, covering integration scoping, Connect listener design, event selection and status mapping into CLM and CRM records, decline and void handling, certificate retrieval, testing in the developer account, documentation, and hypercare support. We deliver legal technology services through staff augmentation or a Basla-managed delivery unit, working alongside your legal operations and IT teams.

Frequently asked questions

Is Docusign Connect included in every plan?

Docusign’s developer documentation for Connect does not state which plans include it, so confirm with your Docusign account team that your production plan includes Connect before you design around it. You can build and test a configuration in a free developer account first.

Can Connect send documents in the payload?

Whether a Connect message can carry the documents depends on the configuration options, so check them in the Docusign Developer Center before you design around it. A dependable pattern is to use the envelope-completed event as the trigger to retrieve the signed document and its certificate through the API.

What format are Connect messages?

Connect messages come in four formats: JSON Send Individual Messages (SIM), JSON aggregate, XML SIM and XML aggregate. Docusign recommends the JSON SIM event model for all apps.

Can you set webhooks per envelope?

You can set webhooks per envelope: Connect supports envelope-level configurations, where a listener receives notifications for specific envelopes. Account-level listeners cover all envelopes for an account or for specified account users.

How do you test Connect locally?

Testing Connect locally needs a listener URL reachable from the public internet, because Connect sends its messages to that URL. Run your tests from the developer account’s sandbox and expose your test listener at a public HTTPS address while you build.

What happens if your endpoint is down?

If your endpoint is down, Connect treats the delivery as failed and retries with exponential back-off, from five minutes up to once a day for 15 days, and messages not acknowledged within 100 seconds go to a failure queue. The Connect Dashboard shows failed events, retry counts and error messages so you can recover.


This article is for general information only and is not legal, business, financial or tax advice. For questions about your specific situation, please consult a qualified professional.

Anas Nadeem
Anas Nadeem

Anas Nadeem is a Legal Technology Developer at Basla Solutions who delivers a variety of legal document management workspace configurations, Docusign automations, and platform integrations. Anas actively shares thought leadership and technical knowledge on legal document infrastructure and digital signature integrations. His articles guide teams through planning document and contract lifecycle management infrastructure, selecting the right solutions, managing the document and records lifecycle, implementing contracts and intelligent agreements, and ensuring systems are adopted by users.