Skip to main content
GET
/
packages
/
{packageId}
/
documents
/
{documentId}
/
pdf
/
{version}
/
download
Download
curl --request GET \
  --url https://sandbox.syngrafii.com/api/v1/packages/{packageId}/documents/{documentId}/pdf/{version}/download \
  --header 'api_key: <api-key>'
HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; name="example.pdf";filename*=utf-8''example.pdf

<PDF-BINARY-DATA>

Request

Download the executed version of a document within a package. This provides access to the completed document that has been fully signed and is ready for record-keeping or distribution.
Request
GET /packages/{packageId}/documents/{documentId}/pdf/executed/download

Parameters

packageId
string
required
Unique identifier for the package to download a document from.
documentId
string
required
Unique identifier for the document within the package to download.
version
string
required
Specifies the version of the document to download. Accepted values are:
ValueDescription
executedThe fully signed and completed version of the document.
cacThe Compliance Audit Certificate for the package.
currentThe most up-to-date revision of the document.
{revisionId}A specific unique revision identifier to download that particular version of the document.
See the MasterFile download API for more information on downloading MasterFiles.

Response

Returns a PDF file of the requested document version.
HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; name="example.pdf";filename*=utf-8''example.pdf

<PDF-BINARY-DATA>