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

> ## Agent Instructions
> AhaSend stores all message data in the EU. See /facts.
> The API base URL is https://api.ahasend.com. Send the API key in the Authorization: Bearer header. See /api-reference/authentication.
> Use send.ahasend.com for SMTP. Ports 25, 587 and 2525 use STARTTLS. Port 465 is not supported. See /smtp.
> For send-only integrations, create an API Key v2 under Credentials → Add and scope it to messages:send:{your-domain}. See /send-api/credentials and /api-reference/scopes.

# Campaign Templates and the Two Editors

> Build a catalog of campaign templates in AhaSend, start campaigns and new templates from it, and choose between the Simple Editor and the Advanced Editor.

A campaign template is a reusable email design. Most newsletters look the same every month, so you design once, save it under **Marketing > Templates**, and start every campaign from it. This page explains the template catalog, the two editors, and importing designs from another tool.

Campaign templates are not [transactional templates](/docs/send-api/templates). Transactional templates are for the email your application sends by ID, such as password resets and receipts, with drafts, versions and the Create Template Message endpoint. The two live in different menus and are different resources in the API.

## Your Template Catalog

Under **Marketing > Templates** you keep as many templates as you want: a newsletter, a product update, a promotion, one per brand or per language. You can:

* **Start a campaign** from a template: in **Create Campaign** on the Campaigns page, choose the template under **Start From**. The campaign gets its own copy of the design. Editing the template later changes nothing in a campaign you already made, and you can delete the template without an effect on its campaigns.
* **Start a new template** from an existing one with **Duplicate Template**, for example a Christmas version of your newsletter, or a second-brand version with another logo.
* **Save a campaign's design as a template** with **Save as Template** on the campaign page, so a design you made in a campaign becomes the base for the next ones.

Because each campaign copies the design, a template is a starting point, not a live dependency. That also means a fix in the template does not reach campaigns that already exist: create a new campaign from the fixed template, or make the fix in the campaign as well.

## Simple Editor

The Simple Editor works like a document. You type, and add an image, a button, a divider or columns where you need them. Use it for emails where the words matter more than the layout: an update from the founder, a short announcement, a plain newsletter.

A design made in the Simple Editor can only be changed in the Simple Editor. Through the API and the MCP server you can still change the other parts of a campaign made from it, such as the name, subject, preview text, sender and lists, but not the design itself.

## Advanced Editor

The Advanced Editor builds the email from [MJML](https://mjml.io) blocks that you drag in and style one by one: columns, text, images, buttons, dividers, spacers, social links, navigation bars and hero sections. MJML is the open-source markup made for responsive email, so the result works across email clients without hand-written table HTML.

Use the Advanced Editor when the design matters, when you have an MJML design from another tool, or when a developer maintains the design in code. Paste MJML in with **Import MJML**; **Export** shows the MJML and the HTML to copy.

Both editors can add a **View in browser** link and write right to left, for Arabic, Hebrew and Persian.

## Importing a Design

Bring a design from another tool as MJML or HTML:

* **MJML** from a tool that exports it, such as Klaviyo or Mailjet: paste it into the Advanced Editor with **Import MJML**. It opens as blocks. A few MJML components, such as `mj-accordion`, `mj-carousel` and `mj-table`, are not supported.
* **HTML**: choose **Custom HTML** and upload an `.html` file, or a zip with the HTML, its images and a text version. AhaSend hosts the images from the zip. To change the design, upload a new version; there is no editor for it.

Images and stylesheets that the design links to must use full `https://` URLs that stay online; AhaSend does not copy them. Replace the unsubscribe link of the other tool with `{{ unsubscribe_url }}`, and remove placeholders that only the other tool understands, such as its delivery or view-in-browser tags; otherwise they appear in the email as plain text. See [the unsubscribe link](/docs/campaigns/create#the-unsubscribe-link).

Through the API, [Create Campaign Template](/docs/api-reference/campaign-templates/create-campaign-template) takes `mjml` or `html`, and the [MCP server](/docs/mcp-server) can import a file you hand to your AI tool.

## Related Guides

* [Campaign Builder overview](/docs/campaigns), [Creating a campaign](/docs/campaigns/create), [Testing, review and sending](/docs/campaigns/test-and-send).
* [Campaign Templates API](/docs/api-reference/campaign-templates/get-campaign-templates), [Transactional templates](/docs/send-api/templates).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.