DocuSign
API actions for the DocuSign integration.
DocuSign
Manage DocuSign envelopes, status, and templates with an API token.
Create draft envelope
Create a new draft envelope with documents and recipients.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | DocuSign account ID |
email_subject | string | Yes | Subject line of the envelope email |
documents | array | Yes | List of document objects to include in the envelope |
recipients | object | Yes | Recipients object containing signers, carbon copies, etc. |
Response
{
"envelope_id": "abc123-def456-ghi789"
}Get envelope status
Retrieve the current status of an envelope.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | DocuSign account ID |
envelope_id | string | Yes | ID of the envelope |
Response
{
"status": "completed"
}List envelopes
Retrieve a list of envelopes from the DocuSign account with optional filters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | DocuSign account ID |
status | string | No | Filter envelopes by status (e.g., 'sent', 'completed', 'voided') |
from_date | string | No | Filter envelopes created on or after this date (ISO 8601 format) |
count | number | No | Maximum number of envelopes to return |
Response
[
{
"emailSubject": "Please sign this document",
"envelopeId": "abc123-def456-ghi789",
"status": "sent"
}
]List templates
Retrieve a list of templates from the DocuSign account.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | DocuSign account ID |
search_text | string | No | Filter templates by name |
Response
[
{
"description": "Standard Non-Disclosure Agreement",
"name": "NDA Template",
"templateId": "tmpl-abc123"
}
]Send envelope
Send a draft envelope to its recipients.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | DocuSign account ID |
envelope_id | string | Yes | ID of the envelope to send |
Response
{
"status": "sent"
}Void envelope
Void an envelope with a specified reason.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | DocuSign account ID |
envelope_id | string | Yes | ID of the envelope to void |
void_reason | string | Yes | Reason for voiding the envelope |
Response
{
"status": "voided"
}