Overview
The DocuSign API provides programmatic access to DocuSign's e-signature and document workflow capabilities, allowing developers to embed these functions into their own applications and systems. The API is designed for automating document-centric processes, such as sending documents for signature, retrieving signed documents, and managing document templates. It supports a range of use cases, from integrating basic e-signature functionality into a web application to building complex, enterprise-grade document management solutions. Key applications include automating contract generation and signing, managing real estate transactions, and streamlining legal document approvals.
Developers can utilize the API to create envelopes, which are containers for documents and signers, and then send these for signature. The platform handles the signing process, including identity verification and audit trails, which are critical for legal enforceability and compliance. DocuSign offers various APIs, including the eSignature API for core signing functionality, the Rooms API for real estate transaction management, and the CLM API for contract lifecycle management. The Monitor API provides insights into account activity and security events, supporting governance and compliance initiatives.
The DocuSign API is particularly suited for organizations that require high levels of security, compliance, and auditability in their document processes. Its compliance certifications, such as SOC 2 Type II, GDPR, eIDAS, HIPAA, and 21 CFR Part 11, make it suitable for regulated industries like healthcare, finance, and government. The API supports various authentication methods, including OAuth 2.0, providing secure access to its services. Developers can leverage a developer sandbox for testing and prototyping without incurring costs, and comprehensive documentation and SDKs are available to facilitate integration.
The system's focus on legal enforceability and secure transactions is a primary differentiator. For instance, the European Union's eIDAS regulation establishes legal frameworks for electronic identification and trust services, including electronic signatures. DocuSign's compliance with such standards helps ensure that documents processed through its API maintain legal validity across jurisdictions. The API's capabilities extend beyond simple signing, enabling developers to build sophisticated workflows that include document generation, routing, and archival, thereby reducing manual effort and potential errors in document management.
Key features
- eSignature Integration: Embed secure, legally binding e-signature capabilities into custom applications for documents, forms, and contracts (DocuSign eSignature REST API reference).
- Document Workflow Automation: Automate document generation, routing, signing, and archival processes to streamline operational efficiency.
- Template Management: Create and manage document templates to standardize frequently used documents and simplify the sending process.
- API for Real Estate (Rooms API): Integrate specific functionalities for managing real estate transactions, including document sharing and collaboration within a digital room.
- Contract Lifecycle Management (CLM API): Programmatically manage the entire lifecycle of contracts, from creation and negotiation to execution and renewal.
- Audit Trails and Compliance: Generate comprehensive audit trails for every document transaction, ensuring compliance with regulations like GDPR, HIPAA, and eIDAS.
- Webhook Notifications: Receive real-time updates on document status changes, such as when a document is viewed, signed, or declined.
- Multi-language SDKs: Available SDKs for C#, Java, Node.js, PHP, Python, and Ruby to accelerate development and integration.
- Developer Sandbox: A free, non-production environment for testing and developing integrations without affecting live data or incurring costs.
Pricing
DocuSign API pricing is primarily based on the number of "envelopes" used per month, with different tiers offering varying volumes and features. An envelope is a container for one or more documents sent for signature to one or more recipients. As of May 2026, the following plans are available:
| Plan Name | Monthly Cost | Envelopes Included | Key Features |
|---|---|---|---|
| API Individual | $50 | 50 | Basic e-signature, standard API access |
| API Business | $300 | 100 | Advanced API features, branding, reporting |
| API Enterprise | Custom | Custom | Volume discounts, dedicated support, advanced security and compliance |
Additional envelopes beyond the plan's allocation may incur extra charges. Enterprise plans offer custom pricing based on specific organizational needs, including higher volumes and enhanced features. For detailed and up-to-date pricing information, refer to the DocuSign API plans page.
Common integrations
- CRM Systems: Connect with Salesforce to automate contract generation and signing directly from customer records (Salesforce DocuSign integration overview).
- ERP Systems: Integrate with enterprise resource planning platforms to streamline procurement, HR, and finance document workflows.
- Document Management Systems: Connect with platforms like SharePoint or Box for seamless document storage and retrieval after signing.
- Custom Web Applications: Embed e-signature functionality directly into web portals, customer-facing applications, or internal tools using various SDKs.
- HR Systems: Automate onboarding documents, offer letters, and policy acknowledgements.
- Legal Practice Management Software: Integrate for managing client agreements, legal filings, and internal approvals.
Alternatives
- Adobe Acrobat Sign: Offers e-signature and document workflow solutions, often integrated with Adobe Document Cloud.
- PandaDoc: Provides document generation, e-signatures, and workflow automation, often focusing on sales proposals and contracts.
- HelloSign: A Dropbox company offering e-signature services, known for its user-friendly interface and API.
Getting started
To begin using the DocuSign API, developers typically start by creating a free developer sandbox account. This environment allows for testing and development without affecting production data or incurring costs. The initial steps involve obtaining API credentials, such as an integrator key and user ID, and then using one of the available SDKs to make API calls. The following Python example demonstrates how to send a document for signature using the DocuSign eSignature API:
from docusign_esign import ApiClient, EnvelopesApi, EnvelopeDefinition, Document, Signer, CarbonCopy, Recipients, Tabs, SignHere, Text, DateSigned
from docusign_esign.client.api_exception import ApiException
# Configuration
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"
ACCOUNT_ID = "YOUR_ACCOUNT_ID"
BASE_PATH = "https://demo.docusign.net/restapi" # Use demo.docusign.net for sandbox
# Initialize API Client
api_client = ApiClient()
api_client.host = BASE_PATH
api_client.set_default_header("Authorization", f"Bearer {ACCESS_TOKEN}")
envelopes_api = EnvelopesApi(api_client)
# Define the document
document_base64 = "YOUR_BASE64_ENCODED_DOCUMENT_CONTENT" # Replace with actual base64 content
document = Document(
document_base64=document_base64,
name="Test Document.pdf",
file_extension="pdf",
document_id="1"
)
# Define the signer
signer = Signer(
email="[email protected]",
name="John Doe",
recipient_id="1",
routing_order="1"
)
# Define a SignHere tab (e-signature field)
sign_here = SignHere(
anchor_string="/sn1/", # Anchor text in the document
anchor_x_offset="20",
anchor_y_offset="10",
anchor_units="pixels",
recipient_id="1",
tab_label="SignHereTab"
)
# Add tabs to the signer
signer.tabs = Tabs(sign_here_tabs=[sign_here])
# Define recipients
recipients = Recipients(signers=[signer])
# Define the envelope
envelope_definition = EnvelopeDefinition(
email_subject="Please sign this document",
documents=[document],
recipients=recipients,
status="sent" # Set to 'created' to save as a draft
)
try:
# Create and send the envelope
envelope_summary = envelopes_api.create_envelope(account_id=ACCOUNT_ID, envelope_definition=envelope_definition)
print(f"Envelope sent successfully! Envelope ID: {envelope_summary.envelope_id}")
except ApiException as e:
print(f"Error sending envelope: {e}")
This Python snippet illustrates the basic steps: configuring the API client, defining a document, specifying signers and their signature fields (tabs), and then creating and sending the envelope. Developers can find more detailed examples and language-specific guides in the DocuSign eSignature REST API how-to guides.