Download Document
Download the original file, or use mergePdf=true to join every PDF member. Unsupported or unreadable files return 422.
Path Parameters
document_key*string
Encrypted document key
Query Parameters
mergePdf?boolean
Return all PDF members as one PDF; reject non-PDF files
Default
falseHeader Parameters
Kausate-Version?string
Default
"2026-08-01"Format
dateResponse Body
application/pdf
application/json
application/json
application/json
application/json
curl -X GET "https://api.kausate.com/documents/string/download" \ -H "Kausate-Version: 2026-08-01""string"Empty
{
"detail": "Invalid company ID format",
"code": "request.invalid",
"request_id": "req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"
}{
"detail": "Requested document does not exist",
"code": "document.not_found",
"request_id": "req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"
}{
"detail": [
{
"loc": [
"body",
"kausateId"
],
"msg": "Field required",
"type": "missing"
}
],
"code": "request.invalid",
"request_id": "req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"
}{
"detail": "An unexpected error occurred. If this persists, please contact support@kausate.com",
"code": "internal.unexpected",
"request_id": "req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"
}Last updated on