Skip to main content
GET
Streams the raw binary PDF for the requested document. Before calling this endpoint, use Get Document to confirm downloadable: true — documents where this flag is false cannot be downloaded.
Only documents where downloadable: true can be downloaded. Attempting to download a non-downloadable document will return an error.

Path Parameters

integer
required
The unique numeric ID of the document to download.

Response

200 OKapplication/pdf

string (binary)
The raw PDF file binary. There is no JSON wrapper — the response body is the file itself. Save to disk or stream directly to the user.Response header: Content-Type: application/pdf

Authorizations

Authorization
string
header
required

HTTP Basic Auth using your API key credentials. Use the username and password issued from the Developer Portal. Encode them as Base64(username:password) and pass in the Authorization: Basic <token> header.

Path Parameters

id
integer
required

The unique numeric ID of the document to download.

Response

200 - application/pdf

Raw binary PDF file.

The file binary. Save to disk or pipe directly to the user.