---
title: "List template placeholders"
method: GET
path: "/listPlaceholdersV2"
tags: ["Templates"]
---

# List template placeholders

`GET /listPlaceholdersV2`

Extracts and returns all placeholders from the automation's Google Doc template. Placeholders are grouped into `main` (top-level) and line item groups (`line_items_1`, `line_items_2`, etc.).

## Query parameters

- `automationId` string
- `docId` string

## Response `200`

Placeholders extracted

- object
  - `placeholders` object
    - `main` string[] — Top-level placeholder names.
    - `line_items_1` string[] — Placeholders for the first line item group.
    - `line_items_2` string[] — Placeholders for the second line item group.

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.dev/docsautomator/apis/docsautomator-api.md) · [All operations](https://skmtc.dev/docsautomator/apis/docsautomator-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/docsautomator/docsautomator-api/revisions/3ec829ff5817/schema)
