Get account types with counts

GET https://app.speybooks.com/api/v1/accounts/types

Returns a summary of account types with total and active counts. Useful for dashboard widgets and chart of accounts overview pages. Types are returned in standard accounting order: asset, liability, equity, revenue, expense.

Response

200 Returns account type summary with total and active counts per type, in standard accounting order.
Show response fields
types array<object>
Show child attributes
activeCount integer
Active accounts of this type.
count integer
Total accounts of this type.
type string
Account type identifier (asset, liability, equity, revenue, expense).