curl --request GET \
--url https://api.getlemma.com/v0/providers/{provider_id}/mail \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "inbound_mail_item_Kv7nWp3hTx9cBd5m",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"file_id": "file_Xt7nRv3hBw9pKm4s",
"amount": 372500,
"checks": [
{
"id": "check_deposit_Tm6bXn9hRw3pFk7c",
"amount": 100000,
"transaction_id": "transaction_Ab5cDx3nKv8bTh2d",
"status": "submitted",
"hold": {
"status": "held",
"automatically_releases_at": "2026-03-19T14:00:00Z",
"released_at": null
},
"micr": {
"routing_number": "021000021",
"account_number": "9876543210",
"auxiliary_on_us": null,
"serial_number": "00012345"
}
},
{
"id": "check_deposit_Jd4xVs8mBn2wYh5t",
"amount": 2000,
"transaction_id": null,
"status": "rejected",
"hold": null,
"micr": null
}
],
"received_at": "2026-03-14T14:00:00Z"
},
{
"id": "inbound_mail_item_Rs4bFj8wNm2yHt6x",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"file_id": "file_Hd5cWm8nTx2vFk7b",
"amount": 0,
"checks": [],
"received_at": "2026-03-13T10:45:00Z"
}
]
}
Retrieve all lockbox mail for a provider.
curl --request GET \
--url https://api.getlemma.com/v0/providers/{provider_id}/mail \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "inbound_mail_item_Kv7nWp3hTx9cBd5m",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"file_id": "file_Xt7nRv3hBw9pKm4s",
"amount": 372500,
"checks": [
{
"id": "check_deposit_Tm6bXn9hRw3pFk7c",
"amount": 100000,
"transaction_id": "transaction_Ab5cDx3nKv8bTh2d",
"status": "submitted",
"hold": {
"status": "held",
"automatically_releases_at": "2026-03-19T14:00:00Z",
"released_at": null
},
"micr": {
"routing_number": "021000021",
"account_number": "9876543210",
"auxiliary_on_us": null,
"serial_number": "00012345"
}
},
{
"id": "check_deposit_Jd4xVs8mBn2wYh5t",
"amount": 2000,
"transaction_id": null,
"status": "rejected",
"hold": null,
"micr": null
}
],
"received_at": "2026-03-14T14:00:00Z"
},
{
"id": "inbound_mail_item_Rs4bFj8wNm2yHt6x",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"file_id": "file_Hd5cWm8nTx2vFk7b",
"amount": 0,
"checks": [],
"received_at": "2026-03-13T10:45:00Z"
}
]
}
Returns a list of all mail items received at the provider’s lockbox. Each item includes aDocumentation Index
Fetch the complete documentation index at: https://docs.getlemma.com/llms.txt
Use this file to discover all available pages before exploring further.
file_id for the scanned PDF and an amount representing the total value of any checks found in that piece of mail. If the mail contained checks, they are listed in the checks array.
Show Mail object
Show Check object
check_deposit_.pending, submitted, returned, or rejected.Pending means Lemma has not attempted to deposit the check yet.Submitted means the check has been submitted for deposit. There will be a hold on the funds for a few days.Returned checks are unlikely to happen to healthcare providers receiving funds from payers. Nevertheless, here are a few common reasons checks are returned:Show MICR object
serial_number.auxiliary_on_us instead.{
"data": [
{
"id": "inbound_mail_item_Kv7nWp3hTx9cBd5m",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"file_id": "file_Xt7nRv3hBw9pKm4s",
"amount": 372500,
"checks": [
{
"id": "check_deposit_Tm6bXn9hRw3pFk7c",
"amount": 100000,
"transaction_id": "transaction_Ab5cDx3nKv8bTh2d",
"status": "submitted",
"hold": {
"status": "held",
"automatically_releases_at": "2026-03-19T14:00:00Z",
"released_at": null
},
"micr": {
"routing_number": "021000021",
"account_number": "9876543210",
"auxiliary_on_us": null,
"serial_number": "00012345"
}
},
{
"id": "check_deposit_Jd4xVs8mBn2wYh5t",
"amount": 2000,
"transaction_id": null,
"status": "rejected",
"hold": null,
"micr": null
}
],
"received_at": "2026-03-14T14:00:00Z"
},
{
"id": "inbound_mail_item_Rs4bFj8wNm2yHt6x",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"file_id": "file_Hd5cWm8nTx2vFk7b",
"amount": 0,
"checks": [],
"received_at": "2026-03-13T10:45:00Z"
}
]
}