Request
curl https://sandbox.api.lendeasy.ai/v1/servicing/email-threads/$THREAD_ID/messages \
-H "Authorization: Bearer $TOKEN" \
-H "LendEasy-Tenant: $TENANT"
await fetch(`https://sandbox.api.lendeasy.ai/v1/servicing/email-threads/${threadId}/messages`, {
method: "GET",
headers: { Authorization: `Bearer ${token}`, "LendEasy-Tenant": tenant },
});
requests.get(
f"https://sandbox.api.lendeasy.ai/v1/servicing/email-threads/{thread_id}/messages",
headers={"Authorization": f"Bearer {token}", "LendEasy-Tenant": tenant},
)
[
{
"messageId": 3601,
"direction": "INBOUND",
"status": "RECEIVED",
"fromRef": "customer@example.invalid",
"subject": "Question about my July payment",
"preview": "Hi, I paid on the 20th but my balance looks unchanged.",
"hasContent": true,
"threadingEvidence": "HEADER_IN_REPLY_TO",
"contentSource": null,
"mailboxMode": "MONITORED",
"autoSubmitted": false,
"bulkOrList": false,
"attachmentCount": 0,
"createdAt": "2026-07-25T18: 20:00Z"
}
]
{
"developerMessage": "Request was understood but rejected; inspect errors for field-level causes.",
"httpStatusCode": "400",
"defaultUserMessage": "The request could not be applied.",
"userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
"errors": []
}
{
"developerMessage": "Request was understood but rejected; inspect errors for field-level causes.",
"httpStatusCode": "401",
"defaultUserMessage": "The request could not be applied.",
"userMessageGlobalisationCode": "error.msg.not.authenticated",
"errors": []
}
{
"developerMessage": "Request was understood but rejected; inspect errors for field-level causes.",
"httpStatusCode": "403",
"defaultUserMessage": "The request could not be applied.",
"userMessageGlobalisationCode": "error.msg.not.authorized",
"errors": []
}
{
"developerMessage": "Request was understood but rejected; inspect errors for field-level causes.",
"httpStatusCode": "404",
"defaultUserMessage": "The request could not be applied.",
"userMessageGlobalisationCode": "error.msg.resource.not.found",
"errors": []
}