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

# Load Templates

`GET /templates`

Returns a list of templates for the specified type. Required Access Level: ViewTemplates

## Query parameters

- `scopeType` TemplateScope[], required — array
- `templateTypes` TemplateType[] — array
- `limit` integer — integer
- `offset` integer — integer

## Response `200`

OK

- Template[]
  - `TemplateType` 'RawHTML' | 'DragDropEditor' | 'LandingPageEditor' | 'TemplateEditor' | 'FormTemplate' | 'LandingPageTemplate' | 'PaymentConfirmationTemplate' | 'LandingPageProductTemplate' | 'LandingPageCheckoutTemplate' | 'LandingPagePaymentConfirmationTemplate' | 'LandingPageNewsletterProductTemplate' | 'LandingPageNewsletterPaymentConfirmationTemplate' | 'NewsletterSubscriptionCancellationTemplate'
  - `Name` string, string — Template name
  - `DateAdded` string, date-time — Date of creation in YYYY-MM-DDThh:ii:ss format
  - `Subject` string, string — Default subject of email.
  - `Body` BodyPart[] — Email content of this template
    - `ContentType` 'HTML' | 'PlainText' | 'AMP' | 'CSS', required — Type of body part
    - `Content` string, string — Actual content of the body part
    - `Charset` string, string — Text value of charset encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250 and more...
  - `TemplateScope` 'Personal' | 'Global' — Visibility of a template

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
