Pular para o conteúdo principal

Download and list documents

Download document versions

Once a document has been created, it is possible to download different versions of it, according to the stage it is in. Use the Document Download API, providing the desired type in the type parameter:

GET /api/documents/b12cb1b2-5d6e-40b2-a050-097d068c4c11/content?type=Original

Version types (type)

typeDescription
OriginalOriginal uploaded file
SignaturesSigned file
PrinterFriendlyVersionPrinter friendly version
SigningTagsSigning tags
SignatureMarksSignature marks
OriginalWithMarksOriginal file with the signature marks
SignaturesManifestSignatures manifest
Return format

There are two methods with different return types: one returns the document as a Stream of data and the other returns the document as a vector of bytes[].

Examples on GitHub: C# · Java · PHP · Node.js

List documents

It is possible to list documents according to different patterns and needs. The available parameters are described in the Document Listing API. Among the possible listing types:

  • Pending documents for a particular participant
  • Concluded documents
  • List by folders
  • List by organizations

Examples on GitHub: C# · Java · PHP · Node.js