Get accounts in hierarchical tree structure
Chart of Accounts
Get accounts in hierarchical tree structure
Returns all accounts organized in a hierarchical tree structure.
Features:
- Returns only root accounts (accounts with no parent) at the top level
- Each account includes its children recursively
- Includes account_subtype for categorization
- Includes current balance for each account
- Calculates hierarchy level for each account
Response includes:
- hierarchy: List of root accounts with nested children
- total_accounts: Total count of all accounts
GET
Get accounts in hierarchical tree structure
Documentation Index
Fetch the complete documentation index at: https://docs.thredfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>
Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.
Path Parameters
Pattern:
^[0-9a-f-]+$Response
Hierarchical tree of accounts