Skip to main content
GET
/
v0
/
platform-gl
/
coa-templates
List all Chart of Accounts Templates
curl --request GET \
  --url https://api.sandbox.teal.dev/v0/platform-gl/coa-templates \
  --header 'Authorization: Bearer <token>'
{
  "next_page_token": "ikal0NEVfMhF8dJf4yQ6KQZmGD",
  "prev_page_token": "vuA7JeKI5c6FLnPt5JfRcZcJxW",
  "records": [
    {
      "id": "<string>",
      "name": "<string>",
      "accounting_basis": "cash",
      "ledger_ids": [
        "<string>"
      ],
      "ledgers": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

expand
enum<string>[] | null

Comma-separated list of expandable paths.

Available options:
ledgers
limit
integer
default:50

The number of records to return. Max limit is 1000.

Required range: x >= 1
page_token
string | null

Opaque page token

Response

Successful Response

next_page_token
string | null
required

The token to use to request the next page

Example:

"ikal0NEVfMhF8dJf4yQ6KQZmGD"

prev_page_token
string | null
required

The token to use to request the previous page

Example:

"vuA7JeKI5c6FLnPt5JfRcZcJxW"

records
CoaTemplate · object[]
required

List of CoA templates