---
title: "Retrieve a Chart of Accounts Template"
method: GET
path: "/agent-coa-template/{booksId}/{coaTemplateId}"
tags: ["Books"]
---

# Retrieve a Chart of Accounts Template

`GET /agent-coa-template/{booksId}/{coaTemplateId}`

## Request

- Base URL: `https://api.mercury.com/api/v1`
- URL: `https://api.mercury.com/api/v1/agent-coa-template/{booksId}/{coaTemplateId}`
- Auth: one of:
  - HTTP bearer
  - HTTP basic

## Path parameters

- `booksId` string, uuid, required
- `coaTemplateId` string, base58 (max length 22), required: The unique identifier for a Chart of Accounts Template

## Query parameters

- `expand` 'ledgers': Comma-separated list of expandable paths.

## Response `200`

## Other responses

- `400`: Invalid `expand`
- `404`: `booksId` or `coaTemplateId` not found

## Changes

- **2026-10-16** `ab652aa5aa8e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mercurytechnologies/apis/mercury-api/changes/agent-coa-template/:booksId/:coaTemplateId/get.md)

---

[API](https://skmtc.dev/mercurytechnologies/apis/mercury-api.md) - [All operations](https://skmtc.dev/mercurytechnologies/apis/mercury-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mercurytechnologies/apis/mercury-api/revisions/ab652aa5aa8e?raw)
