Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getlemma.com/llms.txt

Use this file to discover all available pages before exploring further.

The Lemma API is only available to approved platforms. To request access, reach out to the Lemma team at contact@getlemma.com.
The Lemma API is a REST API that returns JSON responses. It gives you read access to your bank accounts and transaction history so you can build integrations with your practice management software, accounting tools, or internal systems.

Base URL

All API requests are made to:
https://api.getlemma.com/v0

Available endpoints

EndpointDescription
GET /v0/providersSearch providers available to your API key
GET /v0/providers/:idGet provider details including lockbox address
GET /v0/providers/:id/accountsList bank accounts for a specific provider
GET /v0/providers/:id/checksList lockbox mail that contained a check
GET /v0/checks/:idGet details for a single check deposit
GET /v0/providers/:id/mailList all lockbox mail
GET /v0/files/:idGet a temporary download URL for a PDF
GET /v0/transactionsList transactions with optional date and account filters
GET /v0/transactions/:id/eraGet parsed 835 ERA data for a transaction
POST /v0/insurance-claimsSubmit an insurance claim for reconciliation tracking
GET /v0/insurance-claimsList claims, filter by reconciliation status
POST /v0/eobsUpload an EOB file for parsing and reconciliation
POST /v0/transfersMove money between accounts

Request format

All requests must include an Authorization header with your API key. See Authentication for details. For endpoints that accept a request body (POST, PUT, PATCH), you must set the Content-Type header to application/json. Requests with a body that are missing this header will receive a 415 Unsupported Media Type response.
curl https://api.getlemma.com/v0/accounts \
  -H "Authorization: Bearer lm_key_your_api_key" \
  -H "Content-Type: application/json"

Response format

All responses are returned as application/json. List endpoints return a JSON array directly. Single-resource endpoints return a JSON object. The transactions endpoint supports filtering by date range and account ID.

Errors

The API returns standard HTTP status codes. Error responses include a message field.
Example error message
{
  "message": "Account not found",
  "error": "Not found",
  "status": 404
}
StatusMeaning
200Success
400Bad request — check your parameters
401Unauthorized — invalid or missing API key
404Not found — the resource does not exist
415Unsupported media type — set Content-Type: application/json
429Too many requests — slow down and retry
500Server error — try again later

Rate limits

The API allows up to 500 requests per minute per API key. If you exceed this limit, you’ll receive a 429 response. Wait and retry after a brief pause. Need higher limits? Contact us and we’re happy to increase them.

Amounts

All monetary amounts are integers representing cents. For example, 150000 represents $1,500.00.

SDK

We are planning to ship a TypeScript SDK very soon. Message us if you’re interested in an SDK for another language.