Skip to main content
GET
Get the agency tree

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Response

The full agency tree (parent agency plus subaccounts) for the token tenant's active company.

Envelope for the agency tree: the full list of companies (parent + subaccounts) in the token tenant's agency.

data
object[]
required