When an order is complete - that is, all have signed - you can download the signed documents in PAdES format. These will have the SDO attached and will be sealed.

Note! The output from these methods tends to be quite large.

Models used in the response:

Name Type Description Optional
Id String Order Id.
DocumentIndex Int Index of document (zero based index). You must specify this, DocumentId or AgreementId. yes
DocumentId Int Id of document. You must specify this, DocumentIndex or AgreementId. yes
AgreementId String AgreementId of document. You must specify this, DocumentIndex or DocumentId. yes

Name Type Description Optional
DocumentId Int Document Id. Use this id in the signers DocumentIds list. yes
Title String Document title. If not set, defaults to filename. yes
Filename String Document filename.
DocumentFormat String Document format. Currently the only allowed value is Pdf.
DocumentData String Base64 encoded document.
CustomData String Any custom data set for this document.



Download a signed document in PAdES format. Specify either "DocumentIndex", "DocumentId" or "AgreementId", but only one of the values.



JSON Input

  "Id": "f0e502b5-7ed8-4634-8866-40b1af294fab",
  "DocumentIndex": 0,
  "DocumentId": 1

JSON Output

  "DocumentId": 1,
  "Title": "Contract 1",
  "Filename": "Contract1.pdf",
  "DocumentData": "AAECAw=="