SaaSFlow
DevelopersAPIReferenceaccounts

Daily balance

Get the day-by-day cumulative balance across accounts, returned as `[date, balance]` tuples. Unlike the per-account balances endpoint, these are converted into the company's base currency and summed, so this is the series to plot as a cash curve. Restrict it to specific accounts with a comma-separated `accountIds`.

Authentication

You're not signed in. Either sign in at app.saasflow.com and reload (then pick sessionCookie), or paste a SaaSFlow sf_… API key in the bearerAuth field below.
GET
/companies/{companyId}/accounts/daily_balance

Authorization

Authorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

In: header

Path Parameters

companyId*string
Length1 <= length

Query Parameters

startDate*string

Start date (YYYY-MM-DD).

Match^\d{4}-\d{2}-\d{2}$
endDate*string

End date (YYYY-MM-DD).

Match^\d{4}-\d{2}-\d{2}$
accountIds?string

Comma-separated account IDs to filter by.

Response Body

application/json

curl -X GET "https://example.com/companies/string/accounts/daily_balance?startDate=string&endDate=string"
[  [    "string",    0  ]]