Request
curl https://sandbox.api.lendeasy.ai/v1/servicing/loans/$LOAN_ID/documents \
-H "Authorization: Bearer $TOKEN"
await fetch(`https://sandbox.api.lendeasy.ai/v1/servicing/loans/${loanId}/documents`, {
method: "GET",
headers: { Authorization: `Bearer ${token}` },
});
requests.get(
f"https://sandbox.api.lendeasy.ai/v1/servicing/loans/{loan_id}/documents",
headers={"Authorization": f"Bearer {token}"},
)
{
"items": [
{
"documentId": 1204,
"documentRef": "doc_4f2a9c1b8d3e5a7c9b1d",
"documentType": "INCOME_EVIDENCE",
"title": "Pay statement — April",
"origin": "STAFF_UPLOAD",
"originalFileName": "pay-statement-april.pdf",
"contentType": "application/pdf",
"contentLength": 184220,
"checksumSha256": "2d8c1f0e5b7a4c6d8e0f2a4b6c8d0e1f3a5b7c9d1e3f5a7b9c1d3e5f7a9b188a",
"scanStatus": "CLEAN",
"status": "ACTIVE",
"sensitive": false,
"createdAt": "2027-05-01T10: 40:00Z"
}
]
}
{
"type": "https://docs.lendeasy.ai/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "The request could not be applied.",
"requestId": "req_01J2R8M6YQ3C7K2N"
}
{
"type": "https://docs.lendeasy.ai/errors/forbidden",
"title": "Forbidden",
"status": 403,
"code": "forbidden",
"detail": "The request could not be applied.",
"requestId": "req_01J2R8M6YQ3C7K2N"
}
{
"type": "https://docs.lendeasy.ai/errors/not_found",
"title": "Not Found",
"status": 404,
"code": "not_found",
"detail": "The request could not be applied.",
"requestId": "req_01J2R8M6YQ3C7K2N"
}
{
"type": "https://docs.lendeasy.ai/errors/rate_limited",
"title": "Rate Limited",
"status": 429,
"code": "rate_limited",
"detail": "The request could not be applied.",
"requestId": "req_01J2R8M6YQ3C7K2N"
}