---
title: "List the comment-automation templates"
method: GET
path: "/automation/templates"
tags: ["Automation"]
---

# List the comment-automation templates

`GET /automation/templates`

## Request

- Base URL: `https://www.sociahive.com/api/v1`
- URL: `https://www.sociahive.com/api/v1/automation/templates`
- Auth: one of:
  - API key in header `X-API-Key`
  - OAuth 2 (authorization code, authorization URL `/api/oauth/authorize`, token URL `/api/oauth/token`, scopes: `flows:read`, `posts:read`)

Templates whose trigger is an Instagram comment, with the inputs each one asks for.

## Response `200`

Templates

- object
  - `data` PostAutomationTemplate[], required
    - `id` string, required
    - `name` string, required
    - `outcome_label` string, required
    - `outcome` string, required
    - `input_fields` object[], required
      - `id` string, required
      - `title` string, required
      - `input_key` string, nullable, required
      - `placeholder` string, nullable, required
      - `helper_text` string, nullable, required
    - `default_inputs` object, required

## Other responses

- `400`: Bad request — invalid parameters
- `401`: Authentication required — provide X-API-Key or Bearer token
- `403`: Insufficient scope for this operation
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/sociahive/apis/sociahive-api.md) · [All operations](https://skmtc.dev/sociahive/apis/sociahive-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sociahive/apis/sociahive-api/revisions/791b8548d288?raw)
