Skip to content

List a loan's documents

GET
/v1/loans/{ref}/documents
curl --request GET \
--url http://localhost:8080/v1/loans/example/documents

Returns every document of the latest package version: classified type, original name, SHA-256, size, page count, whether it is scanned, and whether it is the LAR (with the profile version that parsed it). Any staff role or an API key with status:read. 404 for an unknown reference.

ref
required
string

OK

Media typeapplication/json
Array<object>
object
id
required
string format: uuid
loanId
required
string format: uuid
docType
required
string
originalName
required
string
sha256
required
string
byteSize
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
pageCount
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
isScanned
required
null | boolean
isLar
required
boolean
larProfileId
required
null | string format: uuid
uploadedAt
required
string format: date-time
Examplegenerated
[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"loanId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"docType": "example",
"originalName": "example",
"sha256": "example",
"byteSize": 1,
"pageCount": 1,
"isScanned": true,
"isLar": true,
"larProfileId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"uploadedAt": "2026-04-15T12:00:00Z"
}
]