Download a partner document
/lokta-lms/api/v1/sourcing-partners/{partnerId}/documents/{documentId}/contentDownloads the file of a partner document.
Streams the file from the ledger's document store as an attachment, with the original file name and content type.
The document id is resolved scoped to the partner in the query, never found first and rejected second. This endpoint hands back file content; a lookup that could locate a document belonging to another partner and then reject it could end up serving one partner's PAN under another partner's path.
The bytes live in the core store; this API holds only the reference, so what you get here is exactly what the core would serve for core_document_id.
Path parameters
partnerIdpath · string · requireddocumentIdpath · string · requiredResponses
defaultdefault responseEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai