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

# List templates

`GET /api/v1/templates`

## Request

- Base URL: `https://www.ifillpdf.com`
- URL: `https://www.ifillpdf.com/api/v1/templates`
- Auth: HTTP bearer

Lists public-library templates (scope=public) or your own team/private templates (scope=mine). Cursor-paginated, newest first.

## Query parameters

- `scope` 'public' | 'mine'
- `category` string
- `language` string
- `q` string
- `limit` integer
- `cursor` string

## Response `200`

Template page.

- object
  - `templates` Template[], required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable
    - `category` string, nullable
    - `language` string, nullable
    - `tags` string[]
    - `visibility` 'public' | 'team' | 'private', required
    - `is_published` boolean
    - `page_count` integer
    - `preview_image_url` string, nullable
    - `created_at` string, date-time
  - `next_cursor` string, nullable, required

## Other responses

- `401`: Missing or invalid API key.

---

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