DevelopersAPIReferenceaccounts
Balances
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.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
Length
1 <= lengthQuery Parameters
startDate*string
Start date (YYYY-MM-DD). Balance at this date is the "previous period" value.
Match
^\d{4}-\d{2}-\d{2}$endDate*string
End date (YYYY-MM-DD). Balance at this date is the current value.
Match
^\d{4}-\d{2}-\d{2}$accountIds?string
Comma-separated account IDs to filter by.
Response Body
application/json
curl -X GET "https://api.saasflow.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"
}
}