---
title: "Resolve a public template by marketplace slug"
method: GET
path: "/api/v1/templates/by-slug/{slug}"
tags: ["Templates"]
---

# Resolve a public template by marketplace slug

`GET /api/v1/templates/by-slug/{slug}`

## Request

- Base URL: `https://www.ifillpdf.com`
- URL: `https://www.ifillpdf.com/api/v1/templates/by-slug/{slug}`
- Auth: none required

Public, no auth. Resolves a marketplace slug to the published public template that backs it, when a real fillable PDF exists. Used by the SEO model pages.

## Path parameters

- `slug` string, required

## Response `200`

Template found.

- TemplateEnvelope
  - `template` 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

## Other responses

- `404`: Resource not found.

---

[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)
