GET
/
v0
/
platform-gl
/
coa-templates
/
{coa_template_id}
curl --request GET \
  --url https://api.sandbox.teal.dev/v0/platform-gl/coa-templates/{coa_template_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "PpvsmFEv14yGDyT6iV6kXw",
  "name": "Coffee Shop Sole Prop",
  "ledgers": null,
  "ledger_ids": [
    "7JRNsKwy2Lw66caxVU7WGC",
    "HLn8oy2eqMUCwjp1Cwdgco"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

coa_template_id
string
required

The ID of the Chart of Accounts Template

Query Parameters

expand
enum<string>[] | null

Comma-separated list of expandable paths.

Available options:
ledgers

Response

200
application/json
Successful Response
id
string
required

The unique ID of the object.

Example:

"PpvsmFEv14yGDyT6iV6kXw"

name
string
required

An arbitrary string on the object, useful for identifying the Chart of Accounts template.

Example:

"Coffee Shop Sole Prop"

ledger_ids
string[]
required

A list of IDs of the Ledger Template objects associated with the Chart of Accounts Template

Example:
[
  "7JRNsKwy2Lw66caxVU7WGC",
  "HLn8oy2eqMUCwjp1Cwdgco"
]
ledgers
object[] | null

Expandable. A list of the Ledger Templates associated with the Chart of Accounts Template.

Example:

null