Skip to main content
Export a document

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Path Parameters

id
string
required

Identifier of the document to export.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Body

application/json

Options controlling what a document export archive contains and how the exported files are protected.

combine
boolean
default:false

Merge the document's file together with the requested audit trail and certificate of fulfillment into a single PDF inside the archive. When disabled, each requested part is a separate file.

Example:

false

includeAttachments
boolean
default:false

Include the document's attachments in the archive.

Example:

false

includeAuditTrail
boolean
default:false

Include the document's audit trail PDF in the export.

Example:

false

includeCertificateOfFulfillment
boolean
default:false

Include the document's certificate of fulfillment PDF in the export — the completion record of its transaction. The certificate can only be exported once the transaction has finished.

Example:

false

includeSubmittedFiles
boolean
default:false

Include the files submitted by transaction recipients in the archive.

Example:

false

password
string

Protect the exported PDF files with this password. Recipients of the archive need the password to open them.

Required string length: 1 - 127
Example:

"S3cret!"

seal
boolean
default:false

Seal the exported PDF files with the default seal provider of the document's owner, so their authenticity can be verified outside Circularo. When that is a paid seal provider, each sealed file counts against the owner's sealing capacity.

Example:

false

Response

The export ZIP archive is returned to you as an attachment.