Skip to main content
GET
/
v1
/
platform
/
businesses
/
{business_id}
/
general-ledger
/
chart-of-accounts
/
hierarchy
Get accounts in hierarchical tree structure
curl --request GET \
  --url https://sandbox.thredfi.com/v1/platform/businesses/{business_id}/general-ledger/chart-of-accounts/hierarchy/ \
  --header 'Authorization: Bearer <token>'
{
  "error_code": "<string>",
  "message": "<string>",
  "detail": {},
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

business_id
string
required

Response

Hierarchical tree of accounts