Skip to main content

Download document

Save one document from an envelope, the signing certificate, or all documents as a zip archive.

Command in the DocuSign toolkit · id ooa.docusign/download_document · 6 inputs (4 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNoYour account's REST address, e.g. https://demo.docusign.net/restapi for testing or https://na4.docusign.net/restapi in production. Leave empty to look it up from the account (production first, then the demo environment).
Account IDStringYesDocuSign account id (a GUID or number shown under Apps and Keys).
Envelope IDStringYesEnvelope id, e.g. 4b2f1a8c-1d3e-4f5a-9b7c-0e1d2c3b4a59.
Document IDStringYesDocument number from List envelope documents, or certificate for the signing certificate, or archive for a zip of everything.
Save asFileNoWhere to save it, e.g. signed/contract.pdf, or a folder; the run's temporary folder when empty (G5). Missing folders are created.
Access tokenCredentialYesDocuSign OAuth access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.

Outputs​

OutputTypeWhat it is
pathFileFull path of the saved file.