--- title: "eCASE DocuSign Integration" slug: "ecase-docusign-integration" updated: 2026-02-09T11:32:20Z published: 2026-02-09T11:32:20Z canonical: "guide.casepoint.com/ecase-docusign-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.casepoint.com/llms.txt > Use this file to discover all available pages before exploring further. # eCASE DocuSign Integration eCASE leverages the DocuSign application connector to provide signature capture functionalities for case folder attachments. This document provides details on the integration architecture, configuring eCASE and DocuSign for the integration, successfully working with DocuSign templates, and APIs to help manage your integration. ### About This Manual This manual includes the following topics: - **eCASE Configuration for DocuSign**: Procedures for the DocuSign Connector within eCASE. - **DocuSign Template Configuration**: Configuring DocuSign templates to integrate with eCASE. - **eCASE DocuSign APIs**: APIs used to manage DocuSign Configuration. ### Integration Architecture The diagram below illustrates the eCASE/DocuSign Integration Architecture: ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/DOCsign.png?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=gLVNUneHEyxW8KRJ3uO9HSC8qgoqkA03erf0ecHDYxI%3D) ### eCASE/DocuSign Workflow The diagram below captures the User, eCASE, and DocuSign interactions for the different scenarios supporting the internal approval workflows: ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/Docsign2.png?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=uXVTiuiA7d3XKi0DSMgahWX1IVtfujI1FE2vv7%2FHNfA%3D) ## eCASE Configuration for DocuSign This section contains information about configuring the connection between eCASE and DocuSign. It focuses on the following subjects: - **Create API**: Procedural information about how to create an Application Programming Interface (API). - **DocuSign Connector**: The actions required to configure and activate the DocuSign-eCASE Connector. ### Create API Prior to configuring DocuSign with eCASE, you need to create an API in DocuSign for the eCASE application. Follow the steps below to configure the DocuSign application with eCASE: - Login to DocuSign using your Administrator credentials. - Click **Apps** **and** **Keys**. - Click **Add App and Integration Key**. - Enter the **App Name** in the *App Name* field and click **Create App**. - The pop-up window closes and the *Settings* page displays. Click **Add Secret Key**. - Within the *Service Integration* section, click **Generate RSA**. Copy the private key to your clipboard. - Click **Add URL** and enter the redirect URL in the field. You need to create two redirect URLs; consult the examples below but replace the **<>** value with the information matching your own private server. - http://<>/eCase/Corres/CreateSigningPackage.aspx - http://<>/eCaseAdmin/Connectors/DigitalSignaturelogin.aspx 8. Click **Save** to finalize the API. ### DocuSign Connector eCASE can leverage third party applications to provide additional functionality using Connectors. To configure the DocuSign connector: - Navigate to **Settings > Connectors (System Configuration)**. The *Connectors List* page appears. - Select **Signature Provider** and click **Edit**. The *Signature Provider Connector* pop-up window appears. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/ecase_docusign_integration-image-idcwtga1.jpg?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=oLBsTFwph2qa%2BpbzGThAw0d9ii0X%2FRFM7aBzmMWBZaI%3D) - Within the *DocuSign Configuration Window*, complete the following fields: - *Enable Disable*: Toggles the active/inactive status of the connector. - *Enable Production Environment*: Requires sufficient product licenses to allow the integration. - *Signature Provider*: Select **DocuSign** from the drop-down list. The fields in this pop-up window are dependent upon this selection. - *App Integration Key*: Enter the Integration Key from DocuSign eCASE API Configuration. - *Secret Key*: Enter the Secret Key value described in the *Create API* section of this document. - *API User ID*: This information appears in the *My Account Information* section of the DocuSign page. Copy the **API User ID** value to your clipboard and then enter the value into this field. - *RSA Keypair Private Key*: Enter the RSA Private Key value in this field. ## DocuSign Template Configuration ### Standard Signature Templates Document Internal Approvals require one or more DocuSign Templates to be available in the DocuSign cloud for the configured service account. The DocuSign Template defines the signee roles and the signature field locations. These are general guidelines for creating DocuSign templates that can successfully integrate with eCASE: - The *Template Names* value must match exactly to the *Document Type Name* value so that selected document type is passed as a Template Name when creating the signing package. - The Signing Order in the DocuSign template must match the eCASE document workflow steps so that DocuSign signature steps match the eCASE workflow approval steps. - Role names in the DocuSign template must match the eCASE Role Names so that the API can maintain role assignments in DocuSign. This is useful for when a role assignment is changed in eCASE through the *Role-Change Event Handler*. - Do not add Name and Email information while configuring the DocuSign template. For internal approvals, workflow email notifications should be sent from eCASE and not from DocuSign. - The template requires at least one page, one role, and one signature field values be added to the template before it can be saved and activated. ### Non-Defined Signature Forms If the signature document is not a pre-defined form with pre-defined locations for the signature fields, you can configure the signature fields as ‘**autoplace’** to match a specific text value. For example, when creating a template for letters (either 1-page or multi-page), configure the template document with specific text like “SAC Signature” you would configure the SAC signature field to be automatically placed based on text “SAC Signature.” If you are creating a template for a standard form with well-defined locations for the signature fields, then add the Signature fields directly to the required locations on the form. DocuSign Template Configuration ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/ecase_docusign_integration-image-vb53rjus.jpg?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=mbx0HeiyhObH5G4KuyJO5leajWcSuxgZ78Hxhb7xZRo%3D) > **Notes:** > > - *The document added from eCASE does not have to be the same document used when configuring the template, but it should contain at least as many pages as the document used in the template. For example, if the document used in the template is two pages, the document sent for signing from eCASE should have at least two pages.* > - *If the document added from eCASE does not have the same text value used in the AutoPlace Sign feature, no signature field will be added to the document. In this circumstance the approved user can sign anywhere in the document, and the document still requires a signature to complete.* > - *Unlike external signature requests, DocuSign does not distribute emails to users to sign assigned documents when the Digital Signature connecter is used for document internal approvals.* ## eCASE DocuSign APIs The subsections below describe how to complete DocuSign configuration to permit API functionality, as well as API specific configuration information. You must first configure the API, as detailed in the Create API section of this document. After the API is created, copy the integration key information to your clipboard for use in the APIs. > **NOTES:** > > - *Administrators must first login to the DocuSign application prior to performing any DocuSign Configuration or creating an API.* > - *You do not need to create an API, eCASE features built-in API functionality that is activated when the methods described in the subsections below are completed.* ### Add or Update Attachment When user adds a new attachment or updates attachment properties, eCASE raises the *Add/Update Attachment* event. The event handlers are implemented by the eCASE Application and invoke the Digital Signature connector API call *SendPackageForEmbeddedSigning.* This API contains the specified template ID, a list of attachment file GUIDs, and list of signer’s information to create a signing package. When the API call is successful, start the document workflow for the attachment in eCASE. ### Role Assignment Change When a role assignment is updated, the *Role Assignment Change* event handler first identifies if the document has an associated signing package that is in-progress and then calls the API *UpdateRecipients* to update the signer for the package when the role is associated with a signature workflow. ### User Clicks the Sign & Approve Button After a user clicks the **Sign and Approve** button, the Button UI Form Rules can verify the Package status and invoke the JS function *GetDocuSignEmbeddedSigning* with package ID. eCASE will then invoke the Signing UI for the assignee. When the assignee completes the signature, the *SignedPackage* event handler is raised. In the *SignedPackage* event handler, the eCASE application requires that the current user’s workflow step is completed so that the eCASE workflow can progress. If the signature is denied, it is recommended that the eCASE document workflow be aborted or restarted so that the attachment can be resubmitted for signature(s) after the required corrections. ### Digital Signature Connector API The Digital Signature Connector API is implemented through IDigitalSign interface, it should be initialized with a DocuSignDigitalSign object to make the required calls. The lists below capture the IDigitalSign Code, as well as the Parameters and the Returns for each call. - IDigitalSign: isDigitalSignatureEnabled - Parameters: none - Returns: bool value if digital signature is enabled - IDigitalSign: IsDigitalSignatureSetup - Parameters: none - Returns: bool value if digital signature is correctly setup - IDigitalSign: FindDigitalSignatureProvider - Parameters: none - Returns: A type DigitalSignatureProvider eCase object (enum) to identify which client is setup. - IDigitalSign: HandleAdminAuth - Parameters: none - Returns: none - IDigitalSign: GetTemplates - Parameters: none - Returns: A type List of TemplateInfo object, or an empty list if no templates are found. - IDigitalSign: SendPackageForEmbeddedSigning - Parameters: - templateID: String ------ (DocuSign templateID) - fileGUIDs: List --- (List of attachment IDs to be send) - signers: List ---- (List of signer objects that should return the package) Returns: A type long of eCASE Package ID - IDigitalSign: Get RecipientStatus - Parameters: - packageID: Long ----- (eCase packageID) - emailID: String ---- (emailID of the user whose status must be checked) - Returns: A DigitalSignStatus object (enum) ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/ecase_docusign_integration-image-8q24a50u.jpg?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=nnPLzF4zkkIu4NHIhCaHz0mVn9tguIChVCeURUgk2fM%3D) - IDigitalSign: Update Recipients - Parameters: - packageID: Long ------ (eCase packageID) - signers: List ---- (List of signers to be replaced) > **NOTE:** *For each signer, please specify the RoutingOrderPosition attribute. This is the position of the signer in the workflow of the template (e.g., 1, 2).* - Returns: A DigitalSignStatus object(enum) - IDigitalSign: GetExernalPackageID Parameters: - PackageID: long ------ (eCase packageID) - Returns: A string of value of the external package ID. ### Call JS function for form to call the embedded sign in page GetDocuSignEmbeddedSigning(packageId) - Parameters: - packageId: string ------ eCase PackageId ### Database Table Information - EC_SIGNATURE_PACK - PACKAGE_ID: bigint (PK) - EXTERNAL_ID: varchar - SENDER_ID: int (FK) - COMPLETED_DATE: datetime - STATUS_ID: int - STATUS_DATE: datetime - EC_SIGNATURE_PACK_FILE - PACKAGE_ID: bigint (PK, FK) - ATTACHMENT_ID: int (PK, FK) --- corresponds to ID in EC_ATTACHMENT ## Code Example for Sending Package ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/ecase_docusign_integration-image-njgqa0r7.jpg?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=ldFPR8c7wgdwy3sG4qdxtdte2K86sEIFQUsuwGsRupA%3D) ### eCASE Signing Event When a document is signed via embedded signing, the following eCASE event is thrown: - Events: SignedPackageEvent Parameters: - docuEvent: DocuSignEmbeddedSignStatus - packageID: Long ---- (eCase PackageID) - userID: Int ---- (userID of the user who signed the document) - folderID: int - caseTypeID: int ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/ecase_docusign_integration-image-f7m07782.jpg?sv=2026-02-06&spr=https&st=2026-11-24T11%3A32%3A19Z&se=2026-11-24T12%3A32%3A19Z&sr=b&sp=r&sig=IF1ZJo5aCuC1qC1XrVVnANoChXGePSHbPR%2BiI4vFVBA%3D) > **NOTES:** > > - *A ViewComplete Event is generated, and then a Cancel event is generated after the first time a user views a document and does not complete a signature.* > - *A Decline Event is generated when the user declines to sign the document. DocuSign will then abort this document regardless of the current workflow stage.*