GL Accounts

List GL accounts (chart of accounts)

get/companies/{companyId}/gl-accounts

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Query parameters

type, 'Asset' | 'Liability' | 'Equity' | 'Revenue' | 'Expense'
isActive, 'true' | 'false'
limit, integer

Maximum GL accounts to return. Defaults high enough to avoid truncating normal charts of accounts.

cursor, string

Response

Paginated list of GL accounts

GlAccountsListResponse required
success, boolean
data, GlAccount[]
meta, PaginationMeta

Example response

{
  "data": [
    {
      "code": "1000",
      "name": "Cash"
    }
  ]
}

Changes

No recorded changes to this operation across all 110 revisions of this API.