---
title: "Render email content"
method: POST
path: "/email-content/{id}/render"
tags: ["Email Content"]
---

# Render email content

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

## Request

- Base URL: `https://api.omnisend.com/api`
- URL: `https://api.omnisend.com/api/email-content/{id}/render`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://app.omnisend.com/oauth2/token` scopes: `email-templates.write`
  - API key in header `Authorization`

With this endpoint you can render email content to HTML by ID.
The content is rendered with an empty data context (no contact, no marketing activity).

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

**Rate Limiting:**
This endpoint is rate limited to 40 requests per minute.

## Path parameters

- `id` string, required

## Headers

- `Omnisend-Version` string, required

## Response `200`

Rendered HTML body

- object

## Other responses

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

---

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