---
title: "List templates"
method: GET
path: "/v1/templates"
tags: ["Templates"]
---

# List templates

`GET /v1/templates`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/templates`
- Auth: HTTP bearer

List the team's templates, newest first, in Resend's list shape. Page with limit and an after or before id (not both). Rows carry no content; get one template for that. Requires the email:read scope.

## Query parameters

- `limit` integer
- `after` string
- `before` string
- `q` string

## Response `200`

A page of templates

- TemplateList
  - `object` string, required
  - `data` TemplateSummary[], required
    - `id` string
    - `name` string
    - `status` 'draft' | 'published'
    - `published_at` string, date-time, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `alias` string, nullable
    - `subject` string, nullable: Not in Resend.
    - `category` string, nullable: Not in Resend.
    - `has_unpublished_versions` boolean: Not in Resend's list rows.
  - `has_more` boolean, required

## Other responses

- `400`: Bad request - check your payload
- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
