AptlyStar

DocuSign

Send documents for e-signature via DocuSign

Instructions d'utilisation

Create and send envelopes for e-signature, use templates, check signing status, download signed documents, and manage recipients with DocuSign.

Outils

docusign_send_envelope

Create and send a DocuSign envelope with a document for e-signature

Entrée

ParamètreTypeObligatoireDescription
emailSubjectstringOuiEmail subject for the envelope
emailBodystringNonEmail body message
signerEmailstringOuiEmail address of the signer
signerNamestringOuiFull name of the signer
ccEmailstringNonEmail address of carbon copy recipient
ccNamestringNonFull name of carbon copy recipient
filefileNonDocument file to send for signature
statusstringNonEnvelope status: "sent" to send immediately, "created" for draft (default: "sent")

Sortie

ParamètreTypeDescription
envelopeIdstringCreated envelope ID
statusstringEnvelope status
statusDateTimestringStatus change datetime
uristringEnvelope URI

docusign_create_from_template

Create and send a DocuSign envelope using a pre-built template

Entrée

ParamètreTypeObligatoireDescription
templateIdstringOuiDocuSign template ID to use
emailSubjectstringNonOverride email subject (uses template default if not set)
emailBodystringNonOverride email body message
templateRolesstringOuiJSON array of template roles, e.g. [{"roleName":"Signer","name":"John","email":"john@example.com"}]
statusstringNonEnvelope status: "sent" to send immediately, "created" for draft (default: "sent")

Sortie

ParamètreTypeDescription
envelopeIdstringCreated envelope ID
statusstringEnvelope status
statusDateTimestringStatus change datetime
uristringEnvelope URI

docusign_get_envelope

Get the details and status of a DocuSign envelope

Entrée

ParamètreTypeObligatoireDescription
envelopeIdstringOuiThe envelope ID to retrieve

Sortie

ParamètreTypeDescription
envelopeIdstringEnvelope ID
statusstringEnvelope status (created, sent, delivered, completed, declined, voided)
emailSubjectstringEmail subject line
sentDateTimestringWhen the envelope was sent
completedDateTimestringWhen all recipients completed signing
createdDateTimestringWhen the envelope was created
statusChangedDateTimestringWhen the status last changed
voidedReasonstringReason the envelope was voided
signerCountnumberNumber of signers
documentCountnumberNumber of documents

docusign_list_envelopes

List envelopes from your DocuSign account with optional filters

Entrée

ParamètreTypeObligatoireDescription
fromDatestringNonStart date filter (ISO 8601). Defaults to 30 days ago
toDatestringNonEnd date filter (ISO 8601)
envelopeStatusstringNonFilter by status: created, sent, delivered, completed, declined, voided
searchTextstringNonSearch text to filter envelopes
countstringNonMaximum number of envelopes to return (default: 25)

Sortie

ParamètreTypeDescription
envelopesarrayArray of DocuSign envelopes
↳ envelopeIdstringUnique envelope identifier
↳ statusstringEnvelope status (created, sent, delivered, completed, declined, voided)
↳ emailSubjectstringEmail subject line
↳ sentDateTimestringISO 8601 datetime when envelope was sent
↳ completedDateTimestringISO 8601 datetime when envelope was completed
↳ createdDateTimestringISO 8601 datetime when envelope was created
↳ statusChangedDateTimestringISO 8601 datetime of last status change
totalSetSizenumberTotal number of matching envelopes
resultSetSizenumberNumber of envelopes returned in this response

docusign_void_envelope

Void (cancel) a sent DocuSign envelope that has not yet been completed

Entrée

ParamètreTypeObligatoireDescription
envelopeIdstringOuiThe envelope ID to void
voidedReasonstringOuiReason for voiding the envelope

Sortie

ParamètreTypeDescription
envelopeIdstringVoided envelope ID
statusstringEnvelope status (voided)

docusign_download_document

Download a signed document from a completed DocuSign envelope

Entrée

ParamètreTypeObligatoireDescription
envelopeIdstringOuiThe envelope ID containing the document
documentIdstringNonSpecific document ID to download, or "combined" for all documents merged (default: "combined")

Sortie

ParamètreTypeDescription
base64ContentstringBase64-encoded document content
mimeTypestringMIME type of the document
fileNamestringOriginal file name

docusign_list_templates

List available templates in your DocuSign account

Entrée

ParamètreTypeObligatoireDescription
searchTextstringNonSearch text to filter templates by name
countstringNonMaximum number of templates to return

Sortie

ParamètreTypeDescription
templatesarrayArray of DocuSign templates
↳ templateIdstringTemplate identifier
↳ namestringTemplate name
↳ descriptionstringTemplate description
↳ sharedbooleanWhether template is shared
↳ createdstringISO 8601 creation date
↳ lastModifiedstringISO 8601 last modified date
totalSetSizenumberTotal number of matching templates
resultSetSizenumberNumber of templates returned in this response

docusign_list_recipients

Get the recipient status details for a DocuSign envelope

Entrée

ParamètreTypeObligatoireDescription
envelopeIdstringOuiThe envelope ID to get recipients for

Sortie

ParamètreTypeDescription
signersarrayArray of DocuSign recipients
↳ recipientIdstringRecipient identifier
↳ namestringRecipient name
↳ emailstringRecipient email address
↳ statusstringRecipient signing status (sent, delivered, completed, declined)
↳ signedDateTimestringISO 8601 datetime when recipient signed
↳ deliveredDateTimestringISO 8601 datetime when delivered to recipient
carbonCopiesarrayArray of carbon copy recipients
↳ recipientIdstringRecipient ID
↳ namestringRecipient name
↳ emailstringRecipient email
↳ statusstringRecipient status

On this page