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

# List templates

`GET /v1/projectId/{projectId}/templates`

## Request

- Base URL: `https://api.bluefox.email`
- URL: `https://api.bluefox.email/v1/projectId/{projectId}/templates`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required

## Query parameters

- `limit` integer
- `skip` integer
- `sort` 'name' | 'createdAt' | 'updatedAt'
- `order` 'asc' | 'desc'
- `filter[<field>]` string

## Response `200`

OK

- object
  - `status` integer
  - `result` object
    - `items` Template[]
      - `_id` string
      - `name` string
      - `subject` string
      - `previewText` string
      - `tags` string[]
      - `onProjectCreation` 'do-nothing' | 'set-as-transactional' | 'set-as-triggered' | 'set-as-campaign'
      - `usedVariables` string[]
      - `usedComponents` string[]
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `count` integer: Total matching items across all pages, not just this page.
    - `next` string, nullable: Full URL (path + query string) of the next page, or null if this is the last page.

## Other responses

- `403`: Missing or invalid API key

---

[API](https://skmtc.dev/bluefox/apis/bluefox-email-public-api.md) · [All operations](https://skmtc.dev/bluefox/apis/bluefox-email-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bluefox/apis/bluefox-email-public-api/revisions/fa1a0a835c7f?raw)
