---
title: "POST /templates/render.json"
method: POST
path: "/templates/render.json"
---

# POST /templates/render.json

`POST /templates/render.json`

Inject content and optionally merge fields into a template, returning the HTML that results

## Request body

- TemplatesRender
  - `key` string
  - `merge_vars` object[]
    - `content` string
    - `name` string
  - `template_content` object[]
    - `content` string
    - `name` string
  - `template_name` string

## Response `200`

OK

---

[API](https://skmtc.net/apis-guru/apis/mandrill.md) · [All operations](https://skmtc.net/apis-guru/apis/mandrill/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apis-guru/mandrill/versions/28967a019827/schema)
