> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.templated.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Multi-Page Templates

# Multi-Page Templates

Create templates with multiple pages for carousels, PDFs, and presentations.

## Creating Multi-Page Templates

1. Open the Editor
2. Click the **+ Add Page** button at the bottom
3. Design each page individually
4. Each page can have different layers

## Rendering Multi-Page Templates

### Same Content All Pages

Apply identical changes to every page:
```json
{
  "template": "TEMPLATE_ID",
  "layers": {
    "company_name": { "text": "ACME Corp" },
    "logo": { "image_url": "https://..." }
  }
}
```

### Different Content Per Page

Use the `pages` array:
```json
{
  "template": "TEMPLATE_ID",
  "pages": [
    {
      "page": "page-1",
      "layers": {
        "title": { "text": "Welcome" }
      }
    },
    {
      "page": "page-2",
      "layers": {
        "title": { "text": "Our Services" }
      }
    },
    {
      "page": "page-3",
      "layers": {
        "title": { "text": "Contact Us" }
      }
    }
  ]
}
```

## Response

Multi-page renders return an **array** of render objects:
```json
[
  { "id": "render-1", "page": "page-1", "url": "..." },
  { "id": "render-2", "page": "page-2", "url": "..." },
  { "id": "render-3", "page": "page-3", "url": "..." }
]
```

## Merging into Single PDF

Combine all pages into one PDF file:
```json
{
  "template": "TEMPLATE_ID",
  "format": "pdf",
  "merge": true,
  "pages": [...]
}
```

## Credit Usage

Each page counts as **1 credit**. A 5-page template costs 5 credits per render.

Documentation: [https://templated.io/docs/renders/create/](https://templated.io/docs/renders/create/)