Links to files
A download answers a link to the file, not the file itself. The link works for a few minutes and only for this file; read the call again for a fresh one. Documents stay in your workspace’s storage location throughout.
GET/v1/cases/{case_id}/documents.zip
Whatever your workspace calls them on screen, the API, CLI, MCP and webhooks say case and cases. Every document of the case in one ZIP file, as each was received, with data.json holding the case’s facts and collected values.
- Who may
- Owner, Admin, Analyst and Viewer; Developer in test mode
- CLI
kontiga cases download <case_id> [--output <path>]- MCP tool
download_case_documents- Returns
- The ZIP file: data.json and documents/<n>_<file name>. At most 100 documents and 500 MB.
Parameters
case_idRequiredThe case whose documents to download. In the path.
curl -X GET https://api.kontiga.com/v1/cases/case_7Kq2Xw9/documents.zip \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/cases/{case_id}/documents.zip
{
"object": "file",
"url": "https://files.kontiga.com/v1/case_7Kq2Xw9/documents.zip?expires=1764146400&signature=9f3c1e7a2b",
"file_name": "APP-20418-documents.zip",
"content_type": "application/zip"
}Inside the ZIP
data.json: the case’s facts and every value it collected, as Case data answers them.documents/<n>_<file name>: each document as it was received, numbered in the order it arrived.- At most 100 documents and 500 MB. The link works for a few minutes; ask again for a fresh one.
{
"case": {
"id": "case_7Kq2Xw9",
"reference": "APP-20418",
"title": "Mortgage application, 14 Harbour Row",
"state": "decided",
"outcome": "approved",
"created_at": "2026-11-24T09:12:40Z",
"decided_at": "2026-11-26T08:41:07Z"
},
"values": [
{
"key": "applicant.email",
"label": "Email",
"value": "clara.whelan@mail.example",
"source": "party"
},
{
"key": "answers.loan_amount",
"label": "Loan amount",
"value": "412000.00",
"source": "answer"
}
]
}GET/v1/cases/{case_id}/report
Whatever your workspace calls them on screen, the API, CLI, MCP and webhooks say case and cases. The case report as a PDF in the workspace’s brand: the outcome and who decided, each party’s verified facts, ID document and selfie results, the findings, the latest events and the ID pictures.
- Who may
- Owner, Admin, Analyst and Viewer; Developer in test mode
- CLI
kontiga cases report <case_id> [--include-identity-images <true|false>] [--output <path>]- MCP tool
download_case_report- Returns
- The report as a PDF.
Parameters
case_idRequiredThe case to report on. In the path.
include_identity_imagesfalseleaves out the pictures of the ID and the selfie. They are in when left out.
curl -X GET "https://api.kontiga.com/v1/cases/case_7Kq2Xw9/report?include_identity_images=false" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/cases/{case_id}/report
{
"object": "file",
"url": "https://files.kontiga.com/v1/case_7Kq2Xw9/report.pdf?expires=1764146400&signature=4d8b2a6f1c",
"file_name": "APP-20418-case-report.pdf",
"content_type": "application/pdf"
}The report holds the outcome and its reasons, who decided and when, each party’s verified facts, the ID document’s data, the face match and liveness results, the findings in plain words, the 10 latest events and, unless you leave them out, the ID pictures.
POST/v1/cases/{case_id}/documents/uploads
Whatever your workspace calls them on screen, the API, CLI, MCP and webhooks say case and cases. Upload up to 10 files to a case for one of its parties (PDF, JPEG or PNG, 64 MB each); each is checked like any upload and can answer an item of their checklist.
- Who may
- Owner, Admin and Analyst; Developer in test mode
- CLI
kontiga cases upload <case_id> <file>... --party-id <party_id> [--item-id <item_id>]- MCP tool
upload_case_documents- Returns
- The new documents, received and being checked; their results arrive by event.
Parameters
case_idRequiredThe case to add the documents to. In the path.
party_idRequiredThe party the documents belong to.
item_idAn item of the party’s checklist the files answer. It becomes received whatever the check finds: you decide. When it was the last required item, the request completes.
filesRequired1 to 10 files, each a PDF or a photo (JPEG, PNG, HEIC, HEIF, TIFF or WebP) of up to 64 MB, each with the
upload_idof the upload its bytes went to (Upload a file). The CLI uploads each file and reads its name, type and size from the file itself.
curl -X POST https://api.kontiga.com/v1/cases/case_7Kq2Xw9/documents/uploads \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"party_id": "pty_9Hd4Vb1",
"item_id": "itm_2Gc7Mx4",
"files": [
{
"file_name": "employment-contract-page-1.pdf",
"content_type": "application/pdf",
"byte_size": 218734,
"upload_id": "upl_3f8a1c6e9b2d4f7a8c1e5b9d2a6f4c3e"
},
{
"file_name": "employment-contract-page-2.pdf",
"content_type": "application/pdf",
"byte_size": 196402,
"upload_id": "upl_7b2e9d4a1c6f4e8b9a3d5c7e1f2b4a6d"
}
]
}'POST /v1/cases/{case_id}/documents/uploads
{
"object": "uploaded_documents",
"document_ids": ["doc_9Cq4Ws7", "doc_1Ym6Bh3"]
}Each new document starts as received and is checked like any upload. Its verdict, findings and scores arrive by the document.checked_fast and document.checked events; read it any time with Read a document.