> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Email Templates (V2) Overview

> Define, reuse, update, and manage email templates created outside the MoEngage ecosystem effortlessly.

The MoEngage Email Template API allows marketers define, reuse, update, and manage email templates created outside the MoEngage ecosystem effortlessly. You can create multiple versions of the same template and mark whether they can be used in the campaigns that are active currently. Users can create templates using the Create Email Template API and update them using the Update Email Template API or edit them in the MoEngage dashboard (provided they have the specific editing permissions for the templates allowed for their role). The templates created and updated using these APIs are supported for the Custom HTML Editor (Froala Editor) and not the Drag and Drop Editor.

## Endpoints

The Email Template API (V2) is a collection of the following endpoints:

* [Create Email Template API](/api/email-templates/create-email-template-v2): Creates an email template.
* [Update Email Template API](/api/email-templates/update-email-template): Updates an email template specified by its Template ID.
* [Search Email Template API](/api/email-templates/search-email-template): Fetches an email template using its Template ID or other filters like template name, template version, and so on. It can also list all the email templates created in MoEngage using the Create Email Template API.

## FAQs

### Create Email Template API

<AccordionGroup>
  <Accordion title="How do I access templates created using this API on the MoEngage Dashboard??" icon="sparkles">
    You can access templates created using the Create Email Template API in the Imported API Templates tab in the second step of campaign creation in the MoEngage Dashboard, as illustrated in the image below:

    <img src="https://mintcdn.com/moengage/WXokyZg-CDAagyBT/images/AccessSavedTemplates_CUSTOMTEMPLATEAPI.png?fit=max&auto=format&n=WXokyZg-CDAagyBT&q=85&s=d8aec1680161694056010725509de001" alt="alt text" width="2668" height="1896" data-path="images/AccessSavedTemplates_CUSTOMTEMPLATEAPI.png" />
  </Accordion>

  <Accordion title="Can I create multiple templates with the same name?" icon="sparkles">
    Yes, you can create multiple templates with the same name, provided they have different versions.
  </Accordion>
</AccordionGroup>
