---
title: "Load Template"
method: GET
path: "/templates/{name}"
tags: ["Templates"]
---

# Load Template

`GET /templates/{name}`

Load detailed information of the specified template. Required Access Level: ViewTemplates

## Path parameters

- `name` string, string, required — string

## Response `200`

Serialized template

- Template — Template info
  - `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)
