SaaSFlow
DevelopersAPIReferenceaccounts

Balances

Balances (accounts endpoint) in the SaaSFlow REST API. Request parameters, response fields, and an interactive playground.

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/balances

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

Query Parameters

startDate*string

Start date (YYYY-MM-DD). Balance at this date is the "previous period" value.

endDate*string

End date (YYYY-MM-DD). Balance at this date is the current value.

accountIds?string

Comma-separated account IDs to filter by.

Response Body

application/json

curl -X GET "https://example.com/companies/string/accounts/balances?startDate=string&endDate=string"
{  "property1": {    "value": 0,    "valuePreviousPeriod": 0,    "valueChange": 0,    "valuePreviousPeriodWithTransfersAndBalancesAdded": 0,    "defaultCurrency": "string"  },  "property2": {    "value": 0,    "valuePreviousPeriod": 0,    "valueChange": 0,    "valuePreviousPeriodWithTransfersAndBalancesAdded": 0,    "defaultCurrency": "string"  }}