Download a document file by type
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.GET
Get a download URL for a specific file of a document. The file type is part of the path and is required.
Path Parameters:
fileType(ORIGINAL | SIGNED | JOURNAL): Which file to download.ORIGINAL— the unsigned source document (available for all statuses).SIGNED— the signed/sealed copy (document must be COMPLETED).JOURNAL— the signing journal / audit trail (document must be COMPLETED).
Response: Returns a pre-signed URL valid for 15 minutes. The URL provides secure access to the document file.
Returns 404 if the requested file does not exist for this document.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringDocument ID
fileType*stringWhich file to download: the unsigned ORIGINAL, the SIGNED/sealed copy, or the JOURNAL (audit trail).
Value in
"ORIGINAL""SIGNED""JOURNAL"Document download response
application/json- response
Document download response
downloadUrl*stringPre-signed URL for downloading the document (valid for 1 hour)
Format
uricurl -X GET 'https://app.sajn.se/api/v1/documents/string/download/ORIGINAL' \ -H 'authorization: string'Example Response
{ "downloadUrl": "http://example.com"}Was this page helpful?