---
title: "Render a template by evaluating it against an existing job"
method: POST
path: "/v1/org/{orgId}/template/{templateId}/render"
tags: ["template"]
---

# Render a template by evaluating it against an existing job

`POST /v1/org/{orgId}/template/{templateId}/render`

## Path parameters

- `orgId` string, required
- `templateId` string, required

## Query parameters

- `jobId` string
- `scenarioId` string
- `date` string, date
- `format` 'TEXT' | 'HTML' | 'PDF', required
- `changeGroupingType` 'PRIMARY' | 'SCENARIO' | 'COMP_REVIEW'
- `changeGroupingId` string
- `useScenarioChanges` boolean

## Response `201`

template rendered

- TemplateRenderResponse
  - `content` string, required

## Other responses

- `400` — invalid data
- `401` — not authorized
- `403` — permission denied
- `404` — not found

---

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