---
title: "Publish a template"
method: POST
path: "/templates/{id}/publish"
tags: ["Templates"]
---

# Publish a template

`POST /templates/{id}/publish`

## Request

- Base URL: `https://api.mepmail.dev`
- URL: `https://api.mepmail.dev/templates/{id}/publish`
- Auth: HTTP bearer

Kept for SDK compatibility: templates are always published.

## Path parameters

- `id` string, required: Template id or alias

## Response `200`

No-op kept for SDK compatibility. Templates have no draft/publish cycle: every save is live, so status is always published.

- TemplateIdResponse
  - `object` 'template', required
  - `id` string, uuid, required

## Other responses

- `401`: Missing, malformed or invalid API key
- `404`: Not found
- `429`: Rate limit exceeded: 600 requests per minute per API key and 3,000 per team; wait for Retry-After

---

[API](https://skmtc.dev/mepmail/apis/mepmail-api.md) · [All operations](https://skmtc.dev/mepmail/apis/mepmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mepmail/apis/mepmail-api/revisions/262a89f73730?raw)
