Get category spending summary

Get a summary of spending/income by category for an entity within a specified date range. This provides insights into transaction patterns and amounts by category.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query Parameters

entityIdstringRequired
The ID of the entity
startDatestringOptionalformat: "date"

Start date for the summary (ISO 8601 format)

endDatestringOptionalformat: "date"

End date for the summary (ISO 8601 format)

typeenumOptionalDefaults to ALL
Filter by category type
Allowed values:

Response

Category summary retrieved successfully
summarylist of objects or null
periodStartstring or nullformat: "date-time"
Start of the summary period
periodEndstring or nullformat: "date-time"
End of the summary period
totalExpensesdouble or null
Total expenses across all categories
totalRevenuedouble or null
Total revenue across all categories

Errors