---
title: "Render Template"
method: POST
path: "/whatsapp/templates/render"
tags: ["whatsapp-templates"]
---

# Render Template

`POST /whatsapp/templates/render`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/whatsapp/templates/render`
- Auth: API key in header `X-Agent-Key`

## Request body

- WhatsAppTemplateRenderRequest
  - `tenant_id` string, required
  - `name` string, required
  - `body` string, required
  - `variables` string[]
  - `values` object

## Response `200`

Successful Response

- WhatsAppRenderedTemplate
  - `tenant_id` string, required
  - `name` string, required
  - `rendered_text` string, required
  - `missing_variables` string[]
  - `grounded` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
