The Docusign SDK makes integrating Docusign into your apps and websites a seamless experience.
Docusign Monitor helps organizations protect their agreements with round-the-clock activity tracking. The Monitor API delivers this activity tracking information directly to existing security stacks or data visualization tools—enabling teams to detect unauthorized activity, investigate incidents, and quickly respond to verified threats. It also provides the flexibility security teams need to customize dashboards and alerts to meet specific business needs.
This client SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you’re working through our code examples from the Docusign Developer Center, you merely need to install it by following the instructions below.
Note: Docusign uses Eclipse with Maven for testing purposes.
dependencies node. <dependency>
<groupId>com.docusign</groupId>
<artifactId>docusign-monitor-java</artifactId>
<version>2.0.0</version>
</dependency>
This client has the following external dependencies:
You can refer to the API reference here.
Explore our GitHub repository for the Launcher, a self-executing package housing code examples for the Monitor Java SDK. This package showcases several common use cases and their respective source files. Additionally, you can download a version preconfigured for your Docusign developer account from Quickstart. These examples support both the Authorization Code Grant and JSON Web Token (JWT) authentication workflows.
For details regarding which type of OAuth grant will work best for your Docusign integration, see Choose OAuth Type in the Docusign Developer Center.
For security purposes, Docusign recommends using the Authorization Code Grant flow.
This SDK enforces secure-by-default transport behavior:
HostnameVerifier.setBasePath() and the ApiClient(String basePath) constructor reject http:// URLs by default.setOAuthBasePath() also enforces HTTPS.For local development or testing scenarios that require HTTP or self-signed certificates, use the explicit ApiClient.insecure() factory:
// HTTP endpoint for local testing
ApiClient client = ApiClient.insecure("http://localhost:8080/restapi");
// Self-signed certificate
ApiClient client = ApiClient.insecure("https://dev-server.local/restapi");
// Insecure client with default base path
ApiClient client = ApiClient.insecure();
client.setBasePath("http://localhost:8080/restapi");
Warning:
ApiClient.insecure()disables TLS certificate validation and hostname verification. Never use in production.
By default, when proxy credentials are set via system properties (https.proxyUser / https.proxyPassword), the SDK configures a JVM-wide Authenticator scoped to the proxy host and port. This preserves backward compatibility with existing enterprise configurations.
If you prefer per-connection proxy authentication (which avoids JVM-global side effects), enable it via the setter before the first request:
ApiClient client = new ApiClient();
client.setPerConnectionProxyAuth(true);
Or use the convenience constructor:
ApiClient client = new ApiClient(true);
Note: Per-connection proxy auth will become the default in a future major version.
You can refer to the complete changelog here.
Log issues against this client SDK through GitHub. You can also reach out to us through Docusign Community and Stack Overflow.
The Docusign Monitor Java Client SDK is licensed under the MIT License.