---
title: "List Templates"
method: GET
path: "/v2/{workspace}/template/"
---

# List Templates

`GET /v2/{workspace}/template/`

Retrieve a paginated list of templates in a workspace. Returns template metadata including name, slug, status, enabled channels, and linked workflows.

## Path parameters

- `workspace` string, required

## Query parameters

- `mode` 'draft' | 'live'
- `limit` integer
- `offset` integer
- `q` string

## Response `200`

Successfully retrieved list of templates

- object
  - `meta` object
    - `count` integer — Total number of templates matching the query
    - `limit` integer
    - `offset` integer
  - `results` object[]
    - `$schema` string — Schema URL for template validation
    - `name` string
    - `slug` string
    - `description` string, nullable
    - `tags` string[]
    - `enabled_channels` string[]
    - `status` 'draft' | 'active'
    - `version_no` integer, nullable
    - `hash` string
    - `commit_message` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `active_at` string, date-time, nullable
    - `last_triggered_at` string, date-time, nullable — Timestamp of the last workflow run that used this template
    - `updated_by` object — User who last updated the template
      - `name` string
      - `email` string
    - `channels` object[]
      - `channel` string
      - `is_active` boolean
      - `variants_count` integer

## Other responses

- `401` — Authentication failed

---

[API](https://skmtc.net/suprsend/apis/suprsend-api.md) · [All operations](https://skmtc.net/suprsend/apis/suprsend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/suprsend/suprsend-api/revisions/a686fddb4e0c/schema)
