---
title: "GetEmailTemplate"
method: GET
path: "/api/Email/GetEmailTemplate"
tags: ["Email"]
---

# GetEmailTemplate

`GET /api/Email/GetEmailTemplate`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/Email/GetEmailTemplate`
- Auth: API key in header `Authorization`

Get the full data of a specific email template
<b>Permissions Required: </b> GlobalPermissions.Email.Templates.GetEmailTemplateNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Query parameters

- `pkEmailTemplateRowId` integer

## Response `200`

OK

- EmailTemplate
  - `pkEmailTemplateRowId` integer: Row id
  - `Name` string: Tempalte friendly name
  - `Enabled` boolean: Template enabled or not
  - `TemplateType` string: Template type. Used to map database field
  - `TemplateTypeDefinition` EmailTemplateType
    - `AttachedFileName` string
    - `AttachmentHelpText` string
    - `Type` string
    - `Name` string
    - `IsAdhoc` boolean
    - `IsDesignerVisible` boolean
    - `ParsableCreator` EmailParsableCreator: Abstract class to implement a factory pattern in the creation of IEmailParsable objects
    - `Tags` TemplateTag[]
      - `Tag` string: Tag which is inserted into the template as [{Tag}]
      - `Name` string: Human readable name of the tag
      - `SelectionPath` string: Defines how the tag will be rendered in the menu
      - `IsList` boolean: Identifies whether the item is a list (FOREACH loop)
    - `AttachPDFAvailable` boolean
    - `PrintingTemplateType` string
  - `Subject` string: Subject of the email
  - `Condition` string: Condition to evaluate what template to use
  - `PreviewBeforeGenerating` boolean: Preview email before send it
  - `HTML` boolean: Indicate if the email is HTML
  - `AttachPDF` boolean: Indicate if the email will have an invoice attached
  - `Body` string: Email body content
  - `fkEmailAccountRowId` integer: Row Id of the email account used to send the email
  - `PromptPreviewReferenceNumber` string: Text to be shown to the customer when he want to preview an order

---

[API](https://skmtc.dev/linnworks/apis/email-api.md) - [All operations](https://skmtc.dev/linnworks/apis/email-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/email-api/revisions/e4c8f16841f3?raw)
