---
title: "Get a template"
method: GET
path: "/v1/templates/{templateId}"
tags: ["templates"]
---

# Get a template

`GET /v1/templates/{templateId}`

## Request

- Base URL: `https://api.flowral.app`
- URL: `https://api.flowral.app/v1/templates/{templateId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.flowral.app/v1/oauth/token`, scopes: `templates:read`)

The template with the task graph it will produce, so an integration can show what it is about to create.

## Path parameters

- `templateId` string, required

## Response `200`

SUCCESS

- Template: A saved flow shape, ready to start a new flow from.
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `category` string, nullable
  - `taskCount` integer
  - `usedCount` integer

## Other responses

- `401`: UNAUTHORIZED
- `403`: FORBIDDEN · PLAN_REQUIRED · INSUFFICIENT_SCOPE
- `404`: NOT_FOUND
- `429`: RATE_LIMITED

---

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