---
title: "Render email template"
method: POST
path: "/email-templates/{id}/render"
tags: ["Email Templates"]
---

# Render email template

`POST /email-templates/{id}/render`

With this endpoint you can render an email template by ID and get the full HTML body for preview purposes.

**Scopes:**
`email-templates.write`

## Path parameters

- `id` string, required

## Headers

- `Omnisend-Version` string, required

## Response `200`

Rendered HTML body

- object

## Other responses

- `400` — Invalid template ID or missing brand ID
- `401` — Authentication is missing or invalid
- `403` — Insufficient permissions for this operation
- `404` — Template not found
- `410` — API version has been retired
- `429` — Rate limit exceeded
- `500` — Unexpected error occurred

---

[API](https://skmtc.dev/omnisend/apis/events-api.md) · [All operations](https://skmtc.dev/omnisend/apis/events-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omnisend/events-api/revisions/50214fbc283f/schema)
