DocuSign
Electronic signature platform for contracts and documents
DocuSign
Connect to DocuSign for electronic signatures, envelope management, and document automation.
Overview
DocuSign is an industry-leading e-signature platform. The integration supports:
- Envelopes - Create, send, and track signature requests
- Templates - Use pre-built document templates
- Recipients - Manage signers and routing
- Documents - Upload, download, and manage documents
- Embedded Signing - Generate signing URLs for in-app experiences
- Audit - Track envelope events and history
Prerequisites
- DocuSign account (Developer, Standard, or Enterprise)
- DocuSign Developer account for sandbox testing
- Connected App configured for OAuth
- Account ID from DocuSign admin
Authentication
DocuSign uses OAuth 2.0 for authentication via Nango.
Getting Account ID
Call getUserInfo first to retrieve your account ID:
Available Actions
Account Actions
getUserInfo
Get user info and available accounts.
Template Actions
listTemplates
List available templates.
getTemplate
Get template details.
Envelope Actions
createEnvelope
Create a new envelope (full configuration).
Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | DocuSign account ID |
templateId | string | No | Template to use |
documents | array | No | Documents (if not using template) |
recipients | object | No | Recipients object |
templateRoles | array | No | Template role assignments |
emailSubject | string | No | Email subject line |
emailBlurb | string | No | Email body message |
status | string | No | created (draft) or sent |
customFields | object | No | Custom metadata fields |
notification | object | No | Reminder/expiration settings |
brandId | string | No | Branding theme ID |
createEnvelopeFromTemplate
Simplified envelope creation from template.
getEnvelope
Get envelope details.
getEnvelopeStatus
Get envelope status.
Envelope Statuses:
| Status | Description |
|---|---|
created | Draft, not yet sent |
sent | Sent for signature |
delivered | Viewed by recipients |
signed | Signed by all recipients |
completed | Finished and closed |
declined | Declined by recipient |
voided | Voided by sender |
listEnvelopes
List envelopes with filters.
updateEnvelope
Update envelope properties.
sendEnvelope
Send a draft envelope.
voidEnvelope
Void an envelope.
sendReminder
Send reminder to recipients.
Document Actions
listDocuments
List documents in an envelope.
downloadDocument
Download a specific document.
downloadCombinedDocument
Download all documents as one PDF.
Recipient Actions
getRecipients
Get envelope recipients.
updateRecipients
Update envelope recipients.
deleteRecipients
Remove recipients from envelope.
Embedded Signing Actions
createRecipientView
Create embedded signing URL.
Response:
createSenderView
Create embedded sending URL.
createEditView
Create embedded edit URL.
createCorrectView
Create embedded correction URL.
Audit Actions
getAuditEvents
Get envelope audit trail.
Webhook Triggers
DocuSign Connect webhooks trigger workflows on envelope events.
Event Types:
| Event | Description |
|---|---|
envelope-sent | Envelope sent |
envelope-delivered | Envelope viewed |
envelope-completed | All signatures collected |
envelope-declined | Recipient declined |
envelope-voided | Envelope voided |
recipient-completed | Individual recipient signed |
Example Workflow
Contract signing workflow:
Rate Limits
| Limit | Value |
|---|---|
| API calls | 1,000/hour (standard) |
| Envelopes/day | Based on plan |
| Embedded signing URLs | 5 per recipient per envelope |
Troubleshooting
Common Errors
| Error | Cause | Solution |
|---|---|---|
accountId is required | Missing account ID | Call getUserInfo first |
templateId is required | No template specified | Provide templateId or documents |
AUTHENTICATION_FAILED | Invalid credentials | Check OAuth connection |
ENVELOPE_NOT_IN_CORRECT_STATE | Wrong envelope status | Check status before operation |
RECIPIENT_NOT_FOUND | Invalid recipient ID | Verify recipient exists |
Sandbox vs Production
Use different provider config keys:
- Sandbox:
docusign-sandbox - Production:
docusign
Configure both in your Nango setup for proper testing.