AptlyStar

DocuSign

Send documents for e-signature via DocuSign

使用说明

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

工具

docusign_send_envelope

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

输入

参数类型必填描述
emailSubjectstring是Email subject for the envelope
emailBodystring否Email body message
signerEmailstring是Email address of the signer
signerNamestring是Full name of the signer
ccEmailstring否Email address of carbon copy recipient
ccNamestring否Full name of carbon copy recipient
filefile否Document file to send for signature
statusstring否Envelope status: "sent" to send immediately, "created" for draft (default: "sent")

输出

参数类型描述
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

输入

参数类型必填描述
templateIdstring是DocuSign template ID to use
emailSubjectstring否Override email subject (uses template default if not set)
emailBodystring否Override email body message
templateRolesstring是JSON array of template roles, e.g. [{"roleName":"Signer","name":"John","email":"john@example.com"}]
statusstring否Envelope status: "sent" to send immediately, "created" for draft (default: "sent")

输出

参数类型描述
envelopeIdstringCreated envelope ID
statusstringEnvelope status
statusDateTimestringStatus change datetime
uristringEnvelope URI

docusign_get_envelope

Get the details and status of a DocuSign envelope

输入

参数类型必填描述
envelopeIdstring是The envelope ID to retrieve

输出

参数类型描述
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

输入

参数类型必填描述
fromDatestring否Start date filter (ISO 8601). Defaults to 30 days ago
toDatestring否End date filter (ISO 8601)
envelopeStatusstring否Filter by status: created, sent, delivered, completed, declined, voided
searchTextstring否Search text to filter envelopes
countstring否Maximum number of envelopes to return (default: 25)

输出

参数类型描述
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

输入

参数类型必填描述
envelopeIdstring是The envelope ID to void
voidedReasonstring是Reason for voiding the envelope

输出

参数类型描述
envelopeIdstringVoided envelope ID
statusstringEnvelope status (voided)

docusign_download_document

Download a signed document from a completed DocuSign envelope

输入

参数类型必填描述
envelopeIdstring是The envelope ID containing the document
documentIdstring否Specific document ID to download, or "combined" for all documents merged (default: "combined")

输出

参数类型描述
base64ContentstringBase64-encoded document content
mimeTypestringMIME type of the document
fileNamestringOriginal file name

docusign_list_templates

List available templates in your DocuSign account

输入

参数类型必填描述
searchTextstring否Search text to filter templates by name
countstring否Maximum number of templates to return

输出

参数类型描述
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

输入

参数类型必填描述
envelopeIdstring是The envelope ID to get recipients for

输出

参数类型描述
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